Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复在线文档锚点无法跳转问题 #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions basics/declaration-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) 扩展模块
- [`/// <reference />`](#san-xie-xian-zhi-ling) 三斜线指令
- [`/// <reference />`](#三斜线指令) 三斜线指令

## 什么是声明语句

Expand Down Expand Up @@ -525,7 +525,7 @@ npm 包的声明文件主要有以下几种语法:
- [`export`](#export) 导出变量
- [`export namespace`](#export-namespace) 导出(含有子属性的)对象
- [`export default`](#export-default) ES6 默认导出
- [`export =`](#export-1) commonjs 导出模块
- [`export =`](#export-) commonjs 导出模块

#### `export`

Expand Down