-
-
Save riskers/135d6a4d0464eeb7e84a6a2e3a97edf2 to your computer and use it in GitHub Desktop.
tsconfig.json with common fp-ts namespace imports configured with @unsplash/ts-namespace-import-plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"plugins": [ | |
{ | |
"name": "@unsplash/ts-namespace-import-plugin", | |
"namespaces": { | |
"A": { | |
"importPath": "fp-ts/Array" | |
}, | |
"B": { | |
"importPath": "fp-ts/boolean" | |
}, | |
"C": { | |
"importPath": "fp-ts/Console" | |
}, | |
"D": { | |
"importPath": "fp-ts/Date" | |
}, | |
"E": { | |
"importPath": "fp-ts/Either" | |
}, | |
"IO": { | |
"importPath": "fp-ts/IO" | |
}, | |
"IOE": { | |
"importPath": "fp-ts/IOEither" | |
}, | |
"IOO": { | |
"importPath": "fp-ts/IOOption" | |
}, | |
"J": { | |
"importPath": "fp-ts/Json" | |
}, | |
"N": { | |
"importPath": "fp-ts/number" | |
}, | |
"NEA": { | |
"importPath": "fp-ts/NonEmptyArray" | |
}, | |
"O": { | |
"importPath": "fp-ts/Option" | |
}, | |
"P": { | |
"importPath": "fp-ts/Predicate" | |
}, | |
"R": { | |
"importPath": "fp-ts/Reader" | |
}, | |
"RA": { | |
"importPath": "fp-ts/ReadonlyArray" | |
}, | |
"RE": { | |
"importPath": "fp-ts/ReaderEither" | |
}, | |
"RIO": { | |
"importPath": "fp-ts/ReaderIO" | |
}, | |
"RNEA": { | |
"importPath": "fp-ts/ReadonlyNonEmptyArray" | |
}, | |
"RT": { | |
"importPath": "fp-ts/ReaderTask" | |
}, | |
"RTE": { | |
"importPath": "fp-ts/ReaderTaskEither" | |
}, | |
"S": { | |
"importPath": "fp-ts/string" | |
}, | |
"T": { | |
"importPath": "fp-ts/Task" | |
}, | |
"TE": { | |
"importPath": "fp-ts/TaskEither" | |
}, | |
"TO": { | |
"importPath": "fp-ts/TaskOption" | |
}, | |
"TU": { | |
"importPath": "fp-ts/Tuple" | |
}, | |
} | |
} | |
], | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment