docs: fix typo

这个提交包含在:
WaitSpring 2024-04-08 19:13:48 +08:00
父节点 afc123699b
当前提交 4f894a005a
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -48,7 +48,7 @@ pnpm add <package-name>
pnpm add @wikimedia/codex
```
如果需要导入的不是 npm 包或包名与 MiediaWiki 内置模块不同,则应该在导入前于小工具的`*.d.ts`中声明相关类型,如:<br>If the imported package is not a npm package or the package name is different from MediaWiki built-in modules, you should declare the types in the `*.d.ts` of the gadget before importing it. For example:
如果需要导入的不是 npm 包或包名与 MediaWiki 内置模块不同,则应该在导入前于小工具的`*.d.ts`中声明相关类型,如:<br>If the imported package is not a npm package or the package name is different from MediaWiki built-in modules, you should declare the types in the `*.d.ts` of the gadget before importing it. For example:
```ts
declare module 'ext.gadget.any_package' {