You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S7016: Could not find a declaration file for module '@flowjs/flow.js'. 'xxxxxxxx/node_modules/@flowjs/flow.js/src/flow.js' implicitly has an 'any' type.
Try npm i --save-dev @types/flowjs__flow.js if it exists or add a new declaration (.d.ts) file containing declare module '@flowjs/flow.js';
I installed the suggested type file: "npm i --save-dev @types/flowjs__flow.js"
Then, in my app module, I changed the flow import to:
import * as Flow from '@flowjs/flow.js';
anyone know how to resolve this.
import Flow from '@flowjs/flow.js';
S7016: Could not find a declaration file for module '@flowjs/flow.js'. 'xxxxxxxx/node_modules/@flowjs/flow.js/src/flow.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/flowjs__flow.js
if it exists or add a new declaration (.d.ts) file containingdeclare module '@flowjs/flow.js';
21 import Flow from '@flowjs/flow.js';
无法找到模块“@flowjs/flow.js”的声明文件。“C:/FescoDev/09.source/frontend-electron/GsyfSys/node_modules/@flowjs/flow.js/src/flow.js”隐式拥有 "any" 类型。
尝试使用
npm i --save-dev @types/flowjs__flow.js
(如果存在),或者添加一个包含declare module '@flowjs/flow.js';
的新声明(.d.ts)文件ts(7016)The text was updated successfully, but these errors were encountered: