Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TypeScript 'use strict'
Message
De
14/11/2014 09:06:38
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
14/11/2014 07:54:57
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01610964
Message ID:
01610967
Vues:
43
J'aime (1)
>I'm using Typescript with angularjs and this has been bugging me for a while (I must be missing something simple).
>
>If I use:
module SomeModule{
>}
TsLint complains with "missing 'use strict'". But if I use:
module SomeModule{
>"use strict";
>}
it complains with 'expected an assignment or function call'. Why am I in this Catch22 situation ?


Isn't it:
"Use Strict";
module SomeModule{}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform