Skip to content

Commit 6fda5a1

Browse files
author
David Sheldrick
committed
Update comment about jsx react-native in es5.ts
1 parent 7bf52ee commit 6fda5a1

File tree

1 file changed

+1
-1
lines changed
  • src/compiler/transformers

1 file changed

+1
-1
lines changed

src/compiler/transformers/es5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace ts {
1111
export function transformES5(context: TransformationContext) {
1212
const compilerOptions = context.getCompilerOptions();
1313

14-
// enable emit notification only if using --jsx preserve
14+
// enable emit notification only if using --jsx preserve or react-native
1515
let previousOnEmitNode: (emitContext: EmitContext, node: Node, emitCallback: (emitContext: EmitContext, node: Node) => void) => void;
1616
let noSubstitution: boolean[];
1717
if (compilerOptions.jsx === JsxEmit.Preserve || compilerOptions.jsx === JsxEmit.ReactNative) {

0 commit comments

Comments
 (0)