angular/vscode-ng-language-service/syntaxes/test/data/inline-styles.ts
Joey Perrott 863c7eaafe build: migrate vscode extension into repo (#63924)
Migrate the vscode extension for angular into this repository.

PR Close #63924
2025-09-24 20:24:32 +00:00

26 lines
702 B
TypeScript

/* clang-format off */
@Component({
//// Property key/value test
styles: [ '.example { width: 100px; }' ],
//// Multiple styles test
styles: [
'.example { width: 100px; }',
'.example { height: 100px; }',
],
//// String delimiter tests
styles: [ `.example { width: 100px; }` ],
styles: [ ".example { width: 100px; }" ],
styles: [ '.example { width: 100px; }' ],
//// Parenthesization tests
styles: ( (( [ ( '.example { width: 100px; }' ) ] )) ),
//// styles string
styles: ( (( ( '.example { width: 100px; }' ) )) ),
styles: `.example { width: 100px; }` ,
styles: ".example { width: 100px; }" ,
styles: '.example { width: 100px; }' ,
})
export class TMComponent{}