Skip to content

Commit

Permalink
Fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 2, 2021
1 parent a768cc8 commit a80e773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Buffer from 'node:buffer';
import {Buffer} from 'node:buffer';

/**
Strip UTF-8 [byte order mark](http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a buffer.
Expand Down
2 changes: 1 addition & 1 deletion index.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'node:fs';
import Buffer from 'node:buffer';
import {Buffer} from 'node:buffer';
import {expectType} from 'tsd';
import stripBomBuffer from './index.js';

Expand Down

0 comments on commit a80e773

Please sign in to comment.