Repository navigation
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
64 lines (60 loc) · 2.67 KB
/
Copy pathtsconfig.base.json
File metadata and controls
64 lines (60 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
"incremental": true,
// Environment Settings
// See also https://aka.ms/tsconfig/module
"module": "nodenext",
"moduleResolution": "nodenext",
"target": "esnext",
"paths": {
// Resolve the optional `expo-crypto` peer (imported by
// `wata/react-native/polyfills`) to a self-contained ambient shim when
// compiling wata's own source, so its real types don't pull Expo/React
// Native global augmentations (e.g. a `FormData` without `.get`) into the
// node-flavored source graph. Emit is unaffected — `import 'expo-crypto'`
// survives for consumers. Expo apps override this with `paths: {}` and
// resolve the real package.
"expo-crypto": ["./src/react-native/expo-crypto.d.ts"],
"wata": ["./src/index.ts"],
"wata/consumer": ["./src/consumer.ts"],
"wata/consumer/transports/deviceCode": ["./src/consumer/transports/deviceCode.ts"],
"wata/consumer/transports/mobileWebAuth": ["./src/consumer/transports/mobileWebAuth.ts"],
"wata/consumer/transports/postMessage": ["./src/consumer/transports/postMessage.ts"],
"wata/consumer/transports/relay": ["./src/consumer/transports/relay.ts"],
"wata/consumer/transports/webhookCallback": ["./src/consumer/transports/webhookCallback.ts"],
"wata/host": ["./src/host/index.ts"],
"wata/host/transports/deviceCode": ["./src/host/transports/deviceCode.ts"],
"wata/host/transports/mobileWebAuth": ["./src/host/transports/mobileWebAuth.ts"],
"wata/host/transports/postMessage": ["./src/host/transports/postMessage.ts"],
"wata/host/transports/relay": ["./src/host/transports/relay.ts"],
"wata/host/transports/webhookCallback": ["./src/host/transports/webhookCallback.ts"],
"wata/identity": ["./src/identity.ts"],
"wata/internal/Outbound": ["./src/internal/Outbound.ts"],
"wata/server": ["./src/server/index.ts"]
},
"types": ["node"],
// Other Outputs
"sourceMap": true,
"declaration": true,
"declarationMap": true,
// Stricter Typechecking Options
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
// Style Options
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
// Recommended Options
"strict": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noUncheckedSideEffectImports": true,
"moduleDetection": "force",
"skipLibCheck": true,
"resolvePackageJsonImports": true
}
}