Skip to content

Commit 4f963ec

Browse files
authored
declaration files must use declare (closes TooTallNate#152, TooTallNate#148)
1 parent f63171a commit 4f963ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Writable, WritableOptions } from 'stream';
22

3-
namespace Speaker {
3+
declare namespace Speaker {
44
interface Options extends WritableOptions {
55
readonly channels?: number;
66
readonly bitDepth?: number;
@@ -25,7 +25,7 @@ namespace Speaker {
2525
*
2626
* @param opts options.
2727
*/
28-
class Speaker extends Writable {
28+
declare class Speaker extends Writable {
2929
constructor(opts?: Speaker.Options);
3030

3131
/**

0 commit comments

Comments
 (0)