feat:add the umd & cjs & es6 support #8
Annotations
6 errors
Run nr typecheck:
src/main.ts#L81
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ toTree: <T extends BaseTreeNode>(list: T[], config?: Partial<Config>) => T[]; toList: <T extends BaseTreeNode>(tree: T[], config?: Partial<Config>) => T[]; }'.
|
Run nr typecheck:
src/main.ts#L81
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ toTree<T extends BaseTreeNode>(list: T[], config?: Partial<Config>): T[]; toList<T extends BaseTreeNode>(tree: T[], config?: Partial<Config>): T[]; }'.
|
Run nr typecheck:
src/main.ts#L93
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ toTree: <T extends BaseTreeNode>(list: T[], config?: Partial<Config>) => T[]; toList: <T extends BaseTreeNode>(tree: T[], config?: Partial<Config>) => T[]; }'.
|
Run nr typecheck:
src/main.ts#L94
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
Run nr typecheck:
src/main.ts#L94
Rest parameter 'args' implicitly has an 'any[]' type.
|
Run nr typecheck
Process completed with exit code 1.
|
Loading