mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
This commit is contained in:
1 parent
3a7983a024
commit
fea13dd7b8
2 files changed
+15
-1
No files matched your search
@@ -33335,7 +33335,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
|
||||
|
||||
checkJsxPreconditions(node);
|
||||
|
||||
markLinkedReferences(node, ReferenceHint.Jsx);
|
||||
markJsxAliasReferenced(node);
|
||||
|
||||
if (isNodeOpeningLikeElement) {
|
||||
const jsxOpeningLikeNode = node;
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
// @module: preserve
|
||||
// @verbatimModuleSyntax: true
|
||||
// @jsx: react
|
||||
// @noEmit: true
|
||||
// @noUnusedLocals: true
|
||||
// @noTypesAndSymbols: true
|
||||
|
||||
// @Filename: react.d.ts
|
||||
declare module 'react';
|
||||
|
||||
// @Filename: index.tsx
|
||||
import React from 'react';
|
||||
|
||||
export const build = <div>hello </div>;
|
||||
Reference in new issue
Block a user