import { typescriptGrammar } from './typescript';
import { jsxGrammar } from './jsx';
/**
 * Grammar definition for TSX (TypeScript + JSX) syntax highlighting.
 * Merges TypeScript and JSX grammars, supporting both type annotations
 * and JSX tag syntax in the same file.
 */
export const tsxGrammar = Object.assign(Object.assign({ 
  // Tag must come before TS spread so operator pattern doesn't consume < and >
  tag: jsxGrammar['tag'] }, typescriptGrammar), { entity: jsxGrammar['entity'] });
