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
//DO NOT USE SHORTCUTS//such as: instance -> instclassA{private_fieldA;//private field should start with _publicstaticreadonlySTATIC_FIELD_AAA=1//static fields all uppercasepublicfieldB;//camel case//put fields before methodspublicsayHello(){//same as public fields//It is better to put a pair of "{}" after for/if/when... even if there is only one line. if(this._fieldA){}}}
typings
put all custom typings(anything like declare something) into typings directory
for the typings for global, put it in to lib.d.ts
modules' typing, create a file named {MODULE_NAME}.d.ts
other typings(for global usage, and just for declaration) create a file named {NAME}.d.ts and declare a namespace like Seityan.{NAME}