chore: fix type issues #818
Annotations
10 errors
Run pnpm build:
src/loader/babel.ts#L98
'schema.tags' is possibly 'undefined'.
|
Run pnpm build:
src/loader/babel.ts#L146
Argument of type 'TypeDescriptor | null' is not assignable to parameter of type 'TypeDescriptor'.
|
Run pnpm build:
src/loader/babel.ts#L164
Type 'TypeDescriptor | null' is not assignable to type 'TypeDescriptor | undefined'.
|
Run pnpm build:
src/loader/babel.ts#L200
'p.node.id' is possibly 'null' or 'undefined'.
|
Run pnpm build:
src/loader/babel.ts#L230
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
Run pnpm build:
src/loader/babel.ts#L284
'schema.tsType' is possibly 'undefined'.
|
Run pnpm build:
src/loader/babel.ts#L291
'schema.tags' is possibly 'undefined'.
|
Run pnpm build:
src/loader/babel.ts#L298
'astify' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
|
Run pnpm build:
src/loader/babel.ts#L298
Parameter 'val' implicitly has an 'any' type.
|
Run pnpm build:
src/loader/babel.ts#L315
Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
|
Loading