angular/vscode-ng-language-service/syntaxes/test/data/inline-template.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

32 lines
602 B
TypeScript

/* clang-format off */
/* Inline template recognition tests */
@Component({
//// Property key/value test
template: '<div></div>',
//// String delimiter tests
template: `<div></div>`,
template: "<div></div>",
template: '<div></div>',
//// Parenthesization tests
template: ( (( '<div></div>' )) ),
//// Comments tests
// template: '<div></div>'
/*
* template: '<div></div>'
*/
/**
* template: '<div></div>'
*/
})
export class TMComponent{}
/* Template syntax tests */
@Component({
// Interpolation test
template: '{{property}}',
})
export class TMComponent{}