Skip to content

Commit f76853c

Browse files
committed
Update d.ts.md
1 parent 364155d commit f76853c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/types/ambient/d.ts.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ You have the option of putting these declarations in a `.ts` file or in a `.d.ts
1414

1515
If a file has the extension `.d.ts` then each root level definition must have the `declare` keyword prefixed to it. This helps make it clear to the author that there will be *no code emitted by TypeScript*. The author needs to ensure that the declared item will exist at runtime.
1616

17-
>
18-
* Ambient declarations is a promise that you are making with the compiler. If these do not exist at runtime and you try to use them, things will break without warning.
17+
> * Ambient declarations is a promise that you are making with the compiler. If these do not exist at runtime and you try to use them, things will break without warning.
1918
* Ambient declarations are like docs. If the source changes the docs need to be kept updated. So you might have new behaviours that work at runtime but no one's updated the ambient declaration and hence you get compiler errors.

0 commit comments

Comments
 (0)