Skip to content

Commit

Permalink
import React so the TS-compiler doesn't insert a global scope (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Oct 25, 2020
1 parent 36c8be1 commit 21f346d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as React from "react";

export const LEFT = "Left";
export const RIGHT = "Right";
export const UP = "Up";
Expand Down

0 comments on commit 21f346d

Please sign in to comment.