Skip to content

Commit 629db69

Browse files
fix syntax of importing types
1 parent 7964230 commit 629db69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import Ctx from './ctx';
33
import * as Babel from '@babel/standalone';
4-
import { type TBabel } from './index.d';
4+
import type { TBabel } from './index.d';
55
import StringToReact from './strintToReact';
66
const getCtx = (React: object, Babel: TBabel) => new Ctx(React, Babel);
77
export default StringToReact.bind(null, { getCtx: getCtx, Babel: Babel, react: React });

0 commit comments

Comments
 (0)