( sha: string, modules?: ReadonlyArray<string> )
| 882 | } |
| 883 | |
| 884 | export const snapshotCacheKey = ( |
| 885 | sha: string, |
| 886 | modules?: ReadonlyArray<string> |
| 887 | ): string => |
| 888 | fingerprint([ |
| 889 | "snapshot-v4", |
| 890 | "class-member-optionality-v1", |
| 891 | "literal-type-category-v1", |
| 892 | sha, |
| 893 | ts.version, |
| 894 | modules === undefined ? "all" : [...modules].sort() |
| 895 | ]) |
| 896 | |
| 897 | export class Snapshotter extends Context.Service<Snapshotter, { |
| 898 | readonly extract: (options: ExtractSnapshotOptions) => Effect.Effect< |