( opts: SerializeDocumentOptions, manifest: ResolvedManifest | undefined )
| 71 | |
| 72 | /** Applies NodeJS specific platform APIs to the passed in document instance. */ |
| 73 | export async function setServerPlatform( |
| 74 | opts: SerializeDocumentOptions, |
| 75 | manifest: ResolvedManifest | undefined |
| 76 | ) { |
| 77 | const platform = createPlatform(opts, manifest); |
| 78 | setPlatform(platform); |
| 79 | } |
| 80 | |
| 81 | export const getSymbolHash = (symbolName: string) => { |
| 82 | const index = symbolName.lastIndexOf('_'); |
no test coverage detected
searching dependent graphs…