Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `export class AppComponent {
- title = 'app works!';
- t: Test = {
- name: ''
- }
- t: SquareConfig = {
- color: 'white',
- width: 10,
- d: ''
- }
- }
- interface Test {
- name: string;
- phone?: number;
- }
- interface SquareConfig {
- color: string;
- width: number;
- [propName: string]: any;
- }`
Add Comment
Please, Sign In to add comment