|
| 1 | +=== /p1/node_modules/csv-parse/lib/index.d.ts === |
| 2 | +export function bar(): number; |
| 3 | +>bar : Symbol(bar, Decl(index.d.ts, 0, 0)) |
| 4 | + |
| 5 | +=== /p1/index.ts === |
| 6 | +export interface MutableRefObject<T> { |
| 7 | +>MutableRefObject : Symbol(MutableRefObject, Decl(index.ts, 0, 0)) |
| 8 | +>T : Symbol(T, Decl(index.ts, 0, 34)) |
| 9 | + |
| 10 | + current: T; |
| 11 | +>current : Symbol(MutableRefObject.current, Decl(index.ts, 0, 38)) |
| 12 | +>T : Symbol(T, Decl(index.ts, 0, 34)) |
| 13 | +} |
| 14 | +export function useRef<T>(current: T): MutableRefObject<T> { |
| 15 | +>useRef : Symbol(useRef, Decl(index.ts, 2, 1)) |
| 16 | +>T : Symbol(T, Decl(index.ts, 3, 23)) |
| 17 | +>current : Symbol(current, Decl(index.ts, 3, 26)) |
| 18 | +>T : Symbol(T, Decl(index.ts, 3, 23)) |
| 19 | +>MutableRefObject : Symbol(MutableRefObject, Decl(index.ts, 0, 0)) |
| 20 | +>T : Symbol(T, Decl(index.ts, 3, 23)) |
| 21 | + |
| 22 | + return { current }; |
| 23 | +>current : Symbol(current, Decl(index.ts, 4, 12)) |
| 24 | +} |
| 25 | +export const useCsvParser = () => { |
| 26 | +>useCsvParser : Symbol(useCsvParser, Decl(index.ts, 6, 12)) |
| 27 | + |
| 28 | + const parserRef = useRef<typeof import("csv-parse")>(null); |
| 29 | +>parserRef : Symbol(parserRef, Decl(index.ts, 7, 9)) |
| 30 | +>useRef : Symbol(useRef, Decl(index.ts, 2, 1)) |
| 31 | + |
| 32 | + return parserRef; |
| 33 | +>parserRef : Symbol(parserRef, Decl(index.ts, 7, 9)) |
| 34 | + |
| 35 | +}; |
| 36 | + |
0 commit comments