Skip to content

Commit

Permalink
Update docs/unsupported_syntax.md
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Palmer <[email protected]>
Signed-off-by: Ashley Claymore <[email protected]>
  • Loading branch information
acutmore and robpalme authored Feb 11, 2025
1 parent 6149a2c commit a494f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/unsupported_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Examples of supported namespace syntax can be seen in the test fixture [tests/fi

### `module` namespace declarations

`ts-blank-space` only erases TypeScript's `module` statements if they are [ambient module augmentations](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation).
`ts-blank-space` only erases TypeScript's `module` statements if they represent [Ambient Modules](https://www.typescriptlang.org/docs/handbook/modules/reference.html#ambient-modules) and applies to both _Ambient Module Augmentations_ as well as _Ambient Module Declarations_.

All other TypeScript `module` declarations will trigger the `onError` callback and be left in the output text verbatim.

Expand Down

0 comments on commit a494f08

Please sign in to comment.