(path: string)
| 3003 | const esbuildTransformed = /\.(?:[cm]?[jt]s|[jt]sx)$/ |
| 3004 | |
| 3005 | const esbuildLoaderOf = (path: string): "ts" | "tsx" | "js" | "jsx" => |
| 3006 | path.endsWith("x") ? |
| 3007 | path.endsWith(".tsx") ? |
| 3008 | "tsx" |
| 3009 | : "jsx" |
| 3010 | : /\.[cm]?ts$/.test(path) ? "ts" |
| 3011 | : "js" |
| 3012 | |
| 3013 | interface InvalidationGraph<mod> { |
| 3014 | getModuleById: (id: string) => mod | undefined |
no test coverage detected