我就clone 了这个项目 复制了config.default.ts
yarn Dev
src/app/extend/helper.ts(240,11): error TS7053: Element implicitly has an 'any' type because expression of type '"pidField"' can't be used to index type 'unknown'.
Property 'pidField' does not exist on type 'unknown'.
src/app/extend/helper.ts(245,16): error TS2339: Property 'value' does not exist on type 'V'.
src/app/extend/helper.ts(245,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'.
No index signature with a parameter of type 'string' was found on type 'unknown'.
src/app/extend/helper.ts(246,16): error TS2339: Property 'label' does not exist on type 'V'.
src/app/extend/helper.ts(246,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'.
No index signature with a parameter of type 'string' was found on type 'unknown'.
src/app/extend/helper.ts(252,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'.
No index signature with a parameter of type 'string' was found on type 'unknown'.
src/app/extend/helper.ts(256,32): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'.
No index signature with a parameter of type 'string' was found on type 'unknown'.
我就clone 了这个项目 复制了config.default.ts yarn Dev src/app/extend/helper.ts(240,11): error TS7053: Element implicitly has an 'any' type because expression of type '"pidField"' can't be used to index type 'unknown'. Property 'pidField' does not exist on type 'unknown'. src/app/extend/helper.ts(245,16): error TS2339: Property 'value' does not exist on type 'V'. src/app/extend/helper.ts(245,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'. No index signature with a parameter of type 'string' was found on type 'unknown'. src/app/extend/helper.ts(246,16): error TS2339: Property 'label' does not exist on type 'V'. src/app/extend/helper.ts(246,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'. No index signature with a parameter of type 'string' was found on type 'unknown'. src/app/extend/helper.ts(252,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'. No index signature with a parameter of type 'string' was found on type 'unknown'. src/app/extend/helper.ts(256,32): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'. No index signature with a parameter of type 'string' was found on type 'unknown'.