Skip to content

Commit

Permalink
Minor generated typings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefnotch committed Feb 13, 2020
1 parent 0cac7ac commit a43f9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/bundle-dts.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ typings = typings.replace(/ *import.+from.*;/g, "");
typings = typings.replace(/declare module "([^"]+?)" {/g, "export module $1 {");

// Add types
typings = "\n" + sourceTypings.replace(/declare/, "export") + "\n" + typings;
typings = "\n" + sourceTypings.replace(/declare/g, "export") + "\n" + typings;

// Wrap them in a "gl-matrix module"
typings = 'declare module "gl-matrix" {\n' + typings + "\n}";
Expand Down

0 comments on commit a43f9ea

Please sign in to comment.