Skip to content

Commit

Permalink
necessary semi
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfallows committed Mar 1, 2018
1 parent ad93462 commit 1348c14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/types/observablemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export interface IMap<K, V> {
get(key: K): V | undefined
has(key: K): boolean
set(key: K, value?: V): this
[Symbol.toStringTag]: "Map"
// prettier-ignore
[Symbol.toStringTag]: "Map"; // necessary semicolon
[Symbol.iterator](): IterableIterator<[K, V]>
entries(): IterableIterator<[K, V]>
keys(): IterableIterator<K>
Expand Down Expand Up @@ -390,7 +391,8 @@ export class ObservableMap<V>
* Include the interface to cover the implementations added to the prototype directly.
*/
export interface ObservableMap<V> {
[Symbol.toStringTag]: "Map"
// prettier-ignore
[Symbol.toStringTag]: "Map"; // necessary semicolon
[Symbol.iterator](): IterableIterator<[string, V]>
}

Expand Down

0 comments on commit 1348c14

Please sign in to comment.