feat:add the umd & cjs & es6 support #8
Annotations
6 errors
lint:
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[]; }'.
|
lint:
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[]; }'.
|
lint:
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[]; }'.
|
lint:
src/main.ts#L94
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
lint:
src/main.ts#L94
Rest parameter 'args' implicitly has an 'any[]' type.
|
lint
Process completed with exit code 1.
|