Remove index.ts
This commit is contained in:
parent
43c2e49984
commit
c550b7ca95
2
index.ts
2
index.ts
|
@ -1,2 +0,0 @@
|
||||||
import { Unlambda } from './src/unlambda';
|
|
||||||
export default Unlambda;
|
|
|
@ -22,5 +22,6 @@
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^4.1.2"
|
"typescript": "^4.1.2"
|
||||||
}
|
},
|
||||||
|
"types": "src/unlambda.ts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,5 +23,7 @@ type EvalResultOutput<T> = T extends [infer F, [infer I, infer O, infer C]] ? O
|
||||||
*
|
*
|
||||||
* Returns the output of program execution, or `never` if something went wrong.
|
* Returns the output of program execution, or `never` if something went wrong.
|
||||||
*/
|
*/
|
||||||
export type Unlambda<Code extends string, Input extends string = ''> =
|
type Unlambda<Code extends string, Input extends string = ''> =
|
||||||
EvalResultOutput<Eval<ParseResultValue<Parse<Code>>, [], [Input, '', '']>>;
|
EvalResultOutput<Eval<ParseResultValue<Parse<Code>>, [], [Input, '', '']>>;
|
||||||
|
|
||||||
|
export default Unlambda;
|
||||||
|
|
Loading…
Reference in New Issue