Skip to content

feat:add the umd & cjs & es6 support #8

feat:add the umd & cjs & es6 support

feat:add the umd & cjs & es6 support #8

Triggered via push August 22, 2024 14:02
Status Failure
Total duration 58s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

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.