mirror of
https://github.com/toss/es-toolkit.git
synced 2024-12-01 02:33:54 +03:00
14 lines
628 B
Bash
Executable File
14 lines
628 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Create root .d.ts files for package exports, for compatibility with
|
|
# TypeScript projects configured with "moduleResolution": "node10"
|
|
# (which is the default when using "module": "commonjs").
|
|
echo "export * from './dist/array';" > array.d.ts
|
|
echo "export * from './dist/compat';" > compat.d.ts
|
|
echo "export * from './dist/function';" > function.d.ts
|
|
echo "export * from './dist/math';" > math.d.ts
|
|
echo "export * from './dist/object';" > object.d.ts
|
|
echo "export * from './dist/predicate';" > predicate.d.ts
|
|
echo "export * from './dist/promise';" > promise.d.ts
|
|
echo "export * from './dist/string';" > string.d.ts
|