Skip to content

v4 error  #12

Open
Open

Description

@leeleoo

undling index.js [development, non-minified] 0.0% (0/476), failed.% (0/476)
error: bundling failed: SyntaxError in /Users/leo/workspace/react-native-starter-kit/src/index.ts: /Users/leo/workspace/react-native-starter-kit/src/index.ts: Unexpected token (2:20)
1 | import I18n from 'react-native-i18n';

2 | import translations = require('./translations');
| ^
3 | import './utils/exceptionHandler';
4 |
5 | import {

感觉并不是认识 ts 的语法

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions