Giter Club home page Giter Club logo

inferno-typescript-example's Issues

Unable to build example

Hello. I'm unable to build a clean checkout of this example and I'm really interested in trying it out. Thanks for any help. Here's what I'm seeing:

Brians-MacBook:inferno-typescript-example-master westphal$ node --version
v6.9.4
Brians-MacBook:inferno-typescript-example-master westphal$ npm --version
4.0.5
Brians-MacBook:inferno-typescript-example-master westphal$ npm install

> [email protected] install /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/westphal/Downloads/inferno-typescript-example-master/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
[email protected] /Users/westphal/Downloads/inferno-typescript-example-master
├─┬ [email protected] 
│ └─┬ [email protected] 
│   └─┬ [email protected] 
│     ├── [email protected] 
│     ├─┬ [email protected] 
│     │ └── [email protected] 
│     ├─┬ [email protected] 
│     │ └─┬ [email protected] 
│     │   ├── [email protected] 
│     │   └── [email protected] 
│     └── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├─┬ [email protected] 
│ │ │ │ │ └─┬ [email protected] 
│ │ │ │ │   ├── [email protected] 
│ │ │ │ │   └── [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ └─┬ [email protected] 
│ │ │ │   └── [email protected] 
│ │ │ └── [email protected] 
│ │ └── [email protected] 
│ └── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ └─┬ [email protected] 
│   └── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ └── [email protected] 
├── [email protected] 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └─┬ [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ └─┬ [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └─┬ [email protected] 
│ │   ├── [email protected] 
│ │   ├─┬ [email protected] 
│ │   │ ├─┬ [email protected] 
│ │   │ │ ├─┬ [email protected] 
│ │   │ │ │ ├── [email protected] 
│ │   │ │ │ └── [email protected] 
│ │   │ │ └── [email protected] 
│ │   │ └── [email protected] 
│ │   ├── [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └─┬ [email protected] 
│ │   ├── [email protected] 
│ │   ├── [email protected] 
│ │   ├─┬ [email protected] 
│ │   │ ├── [email protected] 
│ │   │ └─┬ [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ └── [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ └── [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├─┬ [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ └─┬ [email protected] 
│ │   │   │ │ │   └── [email protected] 
│ │   │   │ │ ├─┬ [email protected] 
│ │   │   │ │ │ └── [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ └── [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ └── [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ ├─┬ [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ └── [email protected] 
│ │   │   │ │ ├─┬ [email protected] 
│ │   │   │ │ │ └── [email protected] 
│ │   │   │ │ ├─┬ [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ ├─┬ [email protected] 
│ │   │   │ │ │ │ └── [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ └── [email protected] 
│ │   │   │ │ └─┬ [email protected] 
│ │   │   │ │   └── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ ├── [email protected] 
│ │   │   │ │ ├─┬ [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ ├── [email protected] 
│ │   │   │ │ │ └── [email protected] 
│ │   │   │ │ └─┬ [email protected] 
│ │   │   │ │   ├── [email protected] 
│ │   │   │ │   ├── [email protected] 
│ │   │   │ │   ├── [email protected] 
│ │   │   │ │   ├─┬ [email protected] 
│ │   │   │ │   │ └── [email protected] 
│ │   │   │ │   ├── [email protected] 
│ │   │   │ │   ├─┬ [email protected] 
│ │   │   │ │   │ └── [email protected] 
│ │   │   │ │   ├── [email protected] 
│ │   │   │ │   ├── [email protected] 
│ │   │   │ │   └── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ └── [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ └─┬ [email protected] 
│ │   │   │   ├── [email protected] 
│ │   │   │   ├── [email protected] 
│ │   │   │   ├─┬ [email protected] 
│ │   │   │   │ └─┬ [email protected] 
│ │   │   │   │   ├── [email protected] 
│ │   │   │   │   └── [email protected] 
│ │   │   │   ├── [email protected] 
│ │   │   │   └── [email protected] 
│ │   │   ├── [email protected] 
│ │   │   ├─┬ [email protected] 
│ │   │   │ ├── [email protected] 
│ │   │   │ ├─┬ [email protected] 
│ │   │   │ │ └── [email protected] 
│ │   │   │ └── [email protected] 
│ │   │   └─┬ [email protected] 
│ │   │     ├─┬ [email protected] 
│ │   │     │ └── [email protected] 
│ │   │     ├── [email protected] 
│ │   │     ├─┬ [email protected] 
│ │   │     │ └── [email protected] 
│ │   │     ├─┬ [email protected] 
│ │   │     │ ├── [email protected] 
│ │   │     │ ├── [email protected] 
│ │   │     │ ├── [email protected] 
│ │   │     │ ├── [email protected] 
│ │   │     │ ├── [email protected] 
│ │   │     │ └── [email protected] 
│ │   │     └── [email protected] 
│ │   ├── [email protected] 
│ │   ├─┬ [email protected] 
│ │   │ └── [email protected] 
│ │   ├── [email protected] 
│ │   └─┬ [email protected] 
│ │     ├─┬ [email protected] 
│ │     │ └── [email protected] 
│ │     └── [email protected] 
│ └─┬ [email protected] 
│   ├── [email protected] 
│   └── [email protected] 
└─┬ [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └─┬ [email protected] 
  │   ├─┬ [email protected] 
  │   │ └── [email protected] 
  │   ├── [email protected] 
  │   ├─┬ [email protected] 
  │   │ ├─┬ [email protected] 
  │   │ │ └─┬ [email protected] 
  │   │ │   ├── [email protected] 
  │   │ │   ├─┬ [email protected] 
  │   │ │   │ └── [email protected] 
  │   │ │   └── [email protected] 
  │   │ ├── [email protected] 
  │   │ └── [email protected] 
  │   ├─┬ [email protected] 
  │   │ └── [email protected] 
  │   ├── [email protected] 
  │   ├── [email protected] 
  │   ├── [email protected] 
  │   ├─┬ [email protected] 
  │   │ └── [email protected] 
  │   ├── [email protected] 
  │   ├─┬ [email protected] 
  │   │ ├─┬ [email protected] 
  │   │ │ └── [email protected] 
  │   │ └── [email protected] 
  │   ├─┬ [email protected] 
  │   │ ├── [email protected] 
  │   │ └── [email protected] 
  │   └─┬ [email protected] 
  │     ├── [email protected] 
  │     └── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ └─┬ [email protected] 
  │ │   └── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ └─┬ [email protected] 
  │ │   └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ └── [email protected] 
  └─┬ [email protected] 
    ├─┬ [email protected] 
    │ └─┬ [email protected] 
    │   └── [email protected] 
    ├── [email protected] 
    └── [email protected] 

npm WARN [email protected] No repository field.
Brians-MacBook:inferno-typescript-example-master westphal$ npm run build

> [email protected] build /Users/westphal/Downloads/inferno-typescript-example-master
> webpack -p

clean-webpack-plugin: /Users/westphal/Downloads/inferno-typescript-example-master/dist has been removed.
ts-loader: Using [email protected] and /Users/westphal/Downloads/inferno-typescript-example-master/tsconfig.json
Hash: a3fb118b2d0fbf885e05
Version: webpack 1.14.0
Time: 3077ms
        Asset       Size  Chunks             Chunk Names
    bundle.js    35.5 kB       0  [emitted]  main
bundle.js.map     294 kB       0  [emitted]  main
   index.html  172 bytes          [emitted]  
    + 8 hidden modules

WARNING in bundle.js from UglifyJs
Condition always true [./~/source-map-loader!./~/inferno/dist/inferno-component.node.js:7,0]
Condition always true [./~/source-map-loader!./~/inferno/dist/inferno-create-element.node.js:7,0]
Condition always true [./~/source-map-loader!./~/inferno/dist/inferno.node.js:7,0]

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(22,30): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(23,23): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(24,74): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(25,33): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(31,20): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(36,14): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(37,19): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(40,17): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(52,28): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(53,27): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(54,26): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(55,27): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(56,29): error TS1110: Type expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(120,26): error TS1005: '{' expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(121,32): error TS1005: '{' expected.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(36,14): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(37,19): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(36,14): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(40,17): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(52,28): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(53,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(54,26): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(55,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(56,29): error TS2300: Duplicate identifier 'null'.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(31,20): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(36,14): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(37,19): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(40,17): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(51,27): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(52,28): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(53,27): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(54,26): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(55,27): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(56,29): error TS7008: Member 'null' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,30): error TS7006: Parameter 'flags' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,37): error TS7006: Parameter 'type' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,44): error TS7006: Parameter 'props' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,52): error TS7006: Parameter 'children' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,63): error TS7006: Parameter 'events' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,72): error TS7006: Parameter 'key' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(59,78): error TS7006: Parameter 'ref' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(60,18): error TS7010: 'cloneVNode', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(60,29): error TS7006: Parameter 'node' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(60,35): error TS7006: Parameter 'props' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(60,43): error TS7019: Rest parameter 'children' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(61,18): error TS7010: 'render', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(61,25): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(62,18): error TS7010: 'enableFindDOMNode', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(64,18): error TS7010: 'createRenderer', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(64,33): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(65,18): error TS7010: 'linkEvent', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(65,28): error TS7006: Parameter 'data' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(66,15): error TS7005: Variable 'NO_OP' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(67,15): error TS7005: Variable 'ERROR_MSG' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(68,15): error TS7005: Variable 'EMPTY_OBJ' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(101,3): error TS7008: Member '_vNode' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(103,27): error TS7006: Parameter 'context' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(104,3): error TS7010: 'componentWillReact', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(106,3): error TS7010: 'componentWillUnmount', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(116,18): error TS7010: 'renderToString', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(116,33): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(117,19): error TS7010: 'renderToStaticMarkup', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(117,40): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(120,18): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(121,24): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(130,68): error TS7019: Rest parameter 'children' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(134,61): error TS7019: Rest parameter 'children' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(145,39): error TS7006: Parameter 'inst' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(146,47): error TS7006: Parameter 'inst' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(154,18): error TS7010: 'mockComponent', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(154,32): error TS7006: Parameter 'componentClass' implicitly has an 'any' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(191,11): error TS7010: 'pathToRegExp', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(196,11): error TS7010: 'concatStream', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(201,18): error TS7010: 'createBrowserHistory', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(202,18): error TS7010: 'createMemoryHistory', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(209,35): error TS7019: Rest parameter 'rest' implicitly has an 'any[]' type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(213,3): error TS7010: 'runReaction', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(214,3): error TS7010: 'dispose', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in /Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts
(228,15): error TS7005: Variable 'assert' implicitly has an 'any' type.

ERROR in ./src/index.ts
(1,26): error TS2656: Exported external package typings file '/Users/westphal/Downloads/inferno-typescript-example-master/node_modules/inferno/inferno.d.ts' is not a module. Please contact the package author to update the package definition.
Child html-webpack-plugin for "index.html":
        + 3 hidden modules
Brians-MacBook:inferno-typescript-example-master westphal$ 

Why babel?

I was surprised to see references to babel in the package.json.
If you are using typescript (which supports JSX to JS transformation), why use babel at all?

Add a tsx example.

I'd like to use JSX / TSX in the render portion, and not elem in templating. Could you add an example of this working, I couldn't get it to work.

Value-based element properties are not type-checked

The properties of the value-based element Incrementer do not appear to be type-checked in index.tsx. To reproduce this issue:

  1. Run npm start
  2. Update index.tsx to contain
  3. Note that TS compiler does not complain that a number has been used when a string is needed

I'm not sure if this is a limitation of TypeScript, Inferno, or the specific configuration in this example project. It would be great to understand how to fix it though :)

Inferno Router

If I attempt to import inferno-router I get "Cannot find module inferno-router" - any ideas?

Cannot find module 'webpack-cli/bin/config-yargs'

i was follow npm install then npm start but i got this
Error: Cannot find module 'webpack-cli/bin/config-yargs'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (z:\nodejs\inferno-typescript-example\node_modules\webpack-dev-server\bin\webpack-dev-server.js:77:1)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)

JSX type errors with tag of type StatelessComponent<P> (Inferno@6)

import { StatelessComponent } from 'inferno'

function wrap <P extends { value?: number } = { value?: number}> (
  ChildComponent: StatelessComponent<P>
) {
  return function ParentComponent ({ value }: { value: number }) {
    return (
      <div>
        value: <ChildComponent value={value} />
      </div>
    )
  }
}

errors on <ChildComponent value={value} />:

[ts]
JSX element type 'InfernoNode' is not a constructor function for JSX elements.
  Type 'string' is not assignable to type 'ElementClass'.
[ts] JSX element class does not support attributes because it does not have a 'props' property.

new since Inferno@6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.