tslint-clean-code
Version:
TSLint rules for enforcing Clean Code
23 lines (19 loc) • 334 B
text/typescript
class SampleTypeOf3 {
// class variables
private typeof;
}
// class properties
class SampleTypeOf4 {
private var;
set typeof(value) {}
get typeof() {
return this.var;
}
}
class SampleTypeOf5 {
typeof() {} // class methods
}
// interface declarations
interface SampleTypeOf6 {
typeof: any;
}