This commit is contained in:
parent
7a9bf3199a
commit
c294e2e9ae
5702 changed files with 465039 additions and 34 deletions
14
node_modules/strip-bom/index.d.ts
generated
vendored
Normal file
14
node_modules/strip-bom/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
Strip UTF-8 [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a string.
|
||||
|
||||
@example
|
||||
```
|
||||
import stripBom = require('strip-bom');
|
||||
|
||||
stripBom('\uFEFFunicorn');
|
||||
//=> 'unicorn'
|
||||
```
|
||||
*/
|
||||
declare function stripBom(string: string): string;
|
||||
|
||||
export = stripBom;
|
||||
Loading…
Add table
Add a link
Reference in a new issue