Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bs.module annotations and make simple ts test (#52)
* Remove file extension from module_id for ts files Fixes printing things like `[@bs.module "modulename.d.ts"]`. * Add simple.d.ts integration test * Update snapshot after adding simple.d.ts
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare function add(x: number, y: number): number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters