Skip to content

Commit

Permalink
class -> interface, as it's no being exported from package
Browse files Browse the repository at this point in the history
this way TypeScript enforces that its not used as a constructor in user code.
  • Loading branch information
AviVahl committed Jun 6, 2017
1 parent 34c4f51 commit 9106228
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ declare module "magic-string" {
includeContent: boolean;
}

class SourceMap {
constructor(properties: SourceMap);
export interface SourceMap {
file: string;
sources: string[];
sourcesContent: string;
Expand Down

0 comments on commit 9106228

Please sign in to comment.