mirror of https://github.com/certusone/oyster.git
Fix tsconfig (#62)
* make typeRoots consistent * config/tokens.json doesn't exist * simplify parent paths
This commit is contained in:
parent
4c228b1219
commit
cfaecafba6
|
@ -16,7 +16,7 @@
|
|||
"downlevelIteration": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react",
|
||||
"typeRoots": ["../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"downlevelIteration": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react",
|
||||
"typeRoots": ["../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -3,9 +3,9 @@ import { WalletAdapter } from "@solana/wallet-base";
|
|||
import Wallet from "@project-serum/sol-wallet-adapter";
|
||||
import { Button, Modal } from "antd";
|
||||
import React, { useCallback, useContext, useEffect, useMemo, useState} from "react";
|
||||
import { notify } from "./../utils/notifications";
|
||||
import { notify } from "../utils/notifications";
|
||||
import { useConnectionConfig } from "./connection";
|
||||
import { useLocalStorageState } from "./../utils/utils";
|
||||
import { useLocalStorageState } from "../utils/utils";
|
||||
import { LedgerProvider } from "@solana/wallet-ledger";
|
||||
import { SolongWalletAdapter } from "../wallet-adapters/solong";
|
||||
import { PhantomWalletAdapter } from "../wallet-adapters/phantom";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import EventEmitter from "eventemitter3";
|
||||
import { PublicKey } from "@solana/web3.js";
|
||||
import { notify } from "./../utils/notifications";
|
||||
import { notify } from "../utils/notifications";
|
||||
|
||||
export class SolongAdapter extends EventEmitter {
|
||||
_publicKey: any;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"typeRoots": ["../../types/", "../../node_modules/@types", "../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src/**/*", "src/config/tokens.json"],
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["src/**/*.test.ts", "**/node_modules"]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { useMemo } from "react";
|
||||
import { GUTTER, LABELS } from "../../constants";
|
||||
import { LiquidateItem } from "./item";
|
||||
import { useEnrichedLendingObligations } from "./../../hooks";
|
||||
import { useEnrichedLendingObligations } from "../../hooks";
|
||||
import "./style.less";
|
||||
import { Card, Col, Row, Statistic, Typography } from "antd";
|
||||
import { BarChartStatistic } from "../../components/BarChartStatistic";
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import React from "react";
|
||||
import { useLendingReserve } from "./../../hooks";
|
||||
import { useLendingReserve } from "../../hooks";
|
||||
import { useParams } from "react-router-dom";
|
||||
import "./style.less";
|
||||
|
||||
import { UserLendingCard } from "./../../components/UserLendingCard";
|
||||
import { ReserveStatus } from "./../../components/ReserveStatus";
|
||||
import { UserLendingCard } from "../../components/UserLendingCard";
|
||||
import { ReserveStatus } from "../../components/ReserveStatus";
|
||||
import { Col, Row } from "antd";
|
||||
import { GUTTER } from "../../constants";
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"downlevelIteration": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react",
|
||||
"typeRoots": ["../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"downlevelIteration": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react",
|
||||
"typeRoots": ["../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"typeRoots": ["../../types/", "../../node_modules/@types", "../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src/**/*", "src/config/tokens.json"],
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["src/**/*.test.ts", "**/node_modules"]
|
||||
}
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"typeRoots": ["../../types/", "../../node_modules/@types", "../../types"]
|
||||
"typeRoots": ["types", "../../types", "../../node_modules/@types"]
|
||||
},
|
||||
"include": ["src/**/*", "src/config/tokens.json"],
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["src/**/*.test.ts", "**/node_modules"]
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"noImplicitAny": true,
|
||||
"typeRoots": ["types/", "node_modules/@types"]
|
||||
"typeRoots": ["types", "node_modules/@types"]
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue