First of all, I ran the code according to the prompt information, but an error was reported that I could not find the package in taobao source, so I didn’t try to change the source

yarn add @type/braft-utils npm i --save-dev @types/braft-utils

Next, create a new declaration.d.ts file under the SRC root directory

Just add this code to the file

declare module 'braft-utils'; 

If the module cannot be found after adding this file, NPM is advised to re-execute the above code by switching sources