Skip to content

Commit

Permalink
Merge pull request #153 from mildsunrise/patch-1
Browse files Browse the repository at this point in the history
declaration files must use declare
  • Loading branch information
LinusU authored Mar 12, 2021
2 parents f63171a + 4f963ec commit 778e906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Writable, WritableOptions } from 'stream';

namespace Speaker {
declare namespace Speaker {
interface Options extends WritableOptions {
readonly channels?: number;
readonly bitDepth?: number;
Expand All @@ -25,7 +25,7 @@ namespace Speaker {
*
* @param opts options.
*/
class Speaker extends Writable {
declare class Speaker extends Writable {
constructor(opts?: Speaker.Options);

/**
Expand Down

0 comments on commit 778e906

Please sign in to comment.