1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-23 01:29:49 +01:00

different tactic for files inclusion for TypeScript

This commit is contained in:
Matthias Kretschmann 2020-05-07 13:55:36 +02:00
parent 8b5d8139af
commit 6da3ac8397
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 2 additions and 10 deletions

View File

@ -1,5 +1,3 @@
import './@types/globals'
export * from './providers'
export * from './hooks'
// export * from './components'

View File

@ -1,10 +1,4 @@
import React, {
ReactNode,
useContext,
useState,
createContext,
useEffect
} from 'react'
import React, { useContext, useState, createContext, useEffect } from 'react'
import Web3 from 'web3'
import { getWeb3 } from './utils'

View File

@ -10,5 +10,5 @@
"sourceMap": true,
"declaration": true
},
"files": ["./src/index.ts"]
"include": ["./src/@types", "./src/index.ts"]
}