Skip to content

docs: simplify useLoader and Resource section #19

docs: simplify useLoader and Resource section

docs: simplify useLoader and Resource section #19

Triggered via push September 28, 2025 14:39
Status Failure
Total duration 28s
Artifacts

gh-pages.yml

on: push
build-and-deploy
24s
build-and-deploy
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build-and-deploy: src/create-three.tsx#L118
This comparison appears to be unintentional because the types '"always"' and '"never"' have no overlap.
build-and-deploy: src/utils.ts#L336
Argument of type 'string' is not assignable to parameter of type 'LoadInput<TLoader>'.
build-and-deploy: src/utils.ts#L335
Type '[string, (string | { [x: string]: LoaderData<TLoader>; } | Awaited<LoadOutput<TLoader, LoaderUrl<TLoader>>>)[]][]' is not assignable to type 'LoadOutput<TLoader, TInput>'.
build-and-deploy: src/utils.ts#L165
Type 'Simplify<Override<TDefaults extends any ? {} & { [K in keyof TDefaults]: K extends never ? DistributeOverride<TDefaults[K], {}[K]> : TDefaults[K]; } : {} & TDefaults, T>>' is not assignable to type '{ [K in keyof (TDefaults & Omit<T, keyof TDefaults>)]: (TDefaults & Omit<T, keyof TDefaults>)[K]; }'.
build-and-deploy: src/hooks.ts#L250
Type 'PromiseMaybe<LoadOutput<TLoader, TInput>>' is not assignable to type 'Promise<LoadOutput<TLoader, TInput>>'.
build-and-deploy: src/hooks.ts#L246
Type 'PromiseMaybe<LoadOutput<TLoader, TInput>>' is not assignable to type 'Promise<LoadOutput<TLoader, TInput>>'.
build-and-deploy: src/hooks.ts#L232
Argument of type 'TInput' is not assignable to parameter of type 'LoaderUrl<TLoader>'.
build-and-deploy: src/hooks.ts#L228
Type 'Promise<LoaderData<TLoader>> | NonNullable<LoaderData<TLoader>>' is not assignable to type 'PromiseMaybe<LoadOutput<TLoader, TInput>>'.
build-and-deploy: src/hooks.ts#L219
Type 'PromiseMaybe<LoadOutput<TLoader, (TInput & Record<string, any>)[string | keyof TInput]>>' is not assignable to type 'Promise<LoadOutput<TLoader, (TInput & Record<string, any>)[string | keyof TInput]>>'.
build-and-deploy: src/components.tsx#L199
No overload matches this call.