You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making polymer-analyzer understand typescript is the first step that needs to be done if we want this to work. All editor plugins depend on the analyser to make sense of <script type="ts/module"> content.
Technical Note: (Based on mhegazy from Microsoft see link below)
If you specify scriptKindName as JS/TS in the TS language service you should be able to buffer the <script type="ts/module"> content directly to get typescript information.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If
polymer-analyzer
can parse typescript we can make the first<script type="ts/module">
proof of concept with the following benefits.<script type="ts/module">
content in html filesexample.ts.html
toexample.html
with the<script type="ts/module">
content andscript type
replaced to a normal<script>
filename:
example.ts.html
Making
polymer-analyzer
understand typescript is the first step that needs to be done if we want this to work. All editor plugins depend on the analyser to make sense of<script type="ts/module">
content.Technical Note: (Based on mhegazy from Microsoft see link below)
If you specify
scriptKindName
asJS/TS
in theTS language service
you should be able to buffer the<script type="ts/module">
content directly to get typescript information.The text was updated successfully, but these errors were encountered: