-
Notifications
You must be signed in to change notification settings - Fork 12.8k
ES6 typings #987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
ES6 typings #987
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
fe4a96e
Allow static side of native types to be extended
mhegazy c8db066
First draft of es6 typings
mhegazy 63e1363
Load the es6 lib if target is es6
mhegazy 4f8605b
Add reflect definition
mhegazy 13a6487
Merge branch 'master' into es6Typings
mhegazy 00bfc06
remove unused arguments for getCompiler
mhegazy ff32be7
Add additional property to mapfn for Array.from
mhegazy f5eef43
Use the correct name for interface Math
mhegazy 6ae43f3
Fix paramters for Math.hypot function
mhegazy 6b5d0b0
Use PropertyKey instead of string when appropriate
mhegazy 20bbebc
Make WeakMap.prototype.set second parameter optional
mhegazy 4257e1c
Make Map.prototype.set second paramter optional
mhegazy abed6e4
Cleanup Proxy definition
mhegazy ded34ef
Add support for typed arrays
mhegazy 7d6f7ea
Fix symbol constructor and update Object properties
mhegazy 2897612
Add Promise typing support
mhegazy 1986fb1
Respond to code review comments
mhegazy 0629bba
allow non ts files to be passed in to the compiler
mhegazy 6c6d9bf
Add test262 test runner
mhegazy 0dddfd9
respond to code review comment
mhegazy 25ce5db
Merge branch 'master' into es6Typings
mhegazy 19854a0
Add TypedArray tests
mhegazy 4413dd5
Move the Internationalization API to its own file and include it in E…
mhegazy f33c1d5
Add ArrayBufferView definition to ES6 lib
mhegazy 1abe1d7
Add dom to es6 lib
mhegazy bdee183
minor fixes
mhegazy 4c2f5d1
Add some more jsdoc comments and ensure everything has a constructor …
mhegazy ff2e4fa
remove extra call to getSourceFile
mhegazy ebf4ed8
Respond to code review comments
mhegazy d3e70ec
Merge branch 'master' into es6typings
mhegazy 507ec3d
Merge branch 'master' into es6Typings
mhegazy ef14da0
Add tree serializer to test262
mhegazy af38970
Move collateOutputs to harness
mhegazy cc270c7
Add the test262 helper file
mhegazy 199b71c
Merge branch 'master' into es6Typings
mhegazy 99d13f4
handel serializing diagnostics
mhegazy 4e79458
Merge branch 'master' into es6typings
mhegazy d390f67
add missing prototype definitions
mhegazy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens on compile on save - So what happens with emit - what file name do we give.. Should it be emitted? Should it be considered ts file and not .d.ts file? What about declaration file generation - I think we should give error if emit is called with this option. (Emit time error)
We need tests with and without this option and .d.ts and .js file generation. Can be compiler baseline I guess.