From 6deca4d7634b56e73dc9f5e3febd032db76825ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=9D=BE=E6=B3=BD?= Date: Thu, 16 May 2024 09:28:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=94=9A=E7=82=B9=E6=97=A0=E6=B3=95=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basics/declaration-files.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basics/declaration-files.md b/basics/declaration-files.md index 16e774d..7face8d 100644 --- a/basics/declaration-files.md +++ b/basics/declaration-files.md @@ -15,11 +15,11 @@ - [`export`](#export) 导出变量 - [`export namespace`](#export-namespace) 导出(含有子属性的)对象 - [`export default`](#export-default) ES6 默认导出 -- [`export =`](#export-1) commonjs 导出模块 +- [`export =`](#export-) commonjs 导出模块 - [`export as namespace`](#export-as-namespace) UMD 库声明全局变量 - [`declare global`](#declare-global) 扩展全局变量 - [`declare module`](#declare-module) 扩展模块 -- [`/// `](#san-xie-xian-zhi-ling) 三斜线指令 +- [`/// `](#三斜线指令) 三斜线指令 ## 什么是声明语句 @@ -525,7 +525,7 @@ npm 包的声明文件主要有以下几种语法: - [`export`](#export) 导出变量 - [`export namespace`](#export-namespace) 导出(含有子属性的)对象 - [`export default`](#export-default) ES6 默认导出 -- [`export =`](#export-1) commonjs 导出模块 +- [`export =`](#export-) commonjs 导出模块 #### `export`