Skip to content

(feat): add typing specs#6838

Closed
usernamealreadyis wants to merge 1 commit into
masterfrom
examples
Closed

(feat): add typing specs#6838
usernamealreadyis wants to merge 1 commit into
masterfrom
examples

Conversation

@usernamealreadyis

Copy link
Copy Markdown
<script> window.addEventListener("message", function(event) { console.log("received token: " + event.data.token); }); var iframe = $('<iframe />').hide(); iframe.appendTo('body'); iframe.attr('src', "https://api.travis-ci.org/auth/post_message"); </script>
add test in gulpfile which will compile a basic TS file with generated angular2.d.ts to ensure generated d.ts is valid syntactic TS WIP add missing exports to angular2.api.ts, add enum generation #2649
@rkirov WIP. Add exports to angular.api.ts file to make the .d.ts generation from complaining. Add hack for generating enums. Reference path in the basic_spec.ts file is to the generated angular2.d.ts
There is an alternative version of this that will try to run the handshake in a hidden iframe and using window.postMessage to hand the token to the website embedding the iframe. This endpoint will only work for whitelisted websites.

add test in gulpfile which will compile a basic TS file with generated angular2.d.ts to ensure generated d.ts is valid syntactic TS
@usernamealreadyis

Copy link
Copy Markdown
Author

_Make sure you don’t double the \ e.g "\\u003f" or you will just get the literal hex chars. This can be a hard bug to find if you are comparing your string against a string containing the fancy character._

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants