Skip to content

Commit 0b2513d

Browse files
tt2
1 parent cbc25aa commit 0b2513d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/languages/tt2.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,12 @@ export default {
5050
// The different types of TT2 strings "replace" the C-like standard string
5151
delete tt2.string;
5252

53-
return /** @type {Grammar} */ ({
53+
return {
5454
'tt2': {
5555
pattern: /\[%[\s\S]+?%\]/,
5656
inside: tt2,
5757
},
58-
$tokenize: /** @type {Grammar['$tokenize']} */ (embeddedIn('markup')),
59-
});
58+
$tokenize: embeddedIn('markup'),
59+
};
6060
},
6161
};
62-
63-
/**
64-
* @typedef {import('../types.d.ts').Grammar} Grammar
65-
*/

0 commit comments

Comments
 (0)