Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

module.d.ts 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. declare module 'module' {
  2. import { URL } from 'url';
  3. namespace Module {
  4. /**
  5. * Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports.
  6. * It does not add or remove exported names from the ES Modules.
  7. */
  8. function syncBuiltinESMExports(): void;
  9. function findSourceMap(path: string, error?: Error): SourceMap;
  10. interface SourceMapPayload {
  11. file: string;
  12. version: number;
  13. sources: string[];
  14. sourcesContent: string[];
  15. names: string[];
  16. mappings: string;
  17. sourceRoot: string;
  18. }
  19. interface SourceMapping {
  20. generatedLine: number;
  21. generatedColumn: number;
  22. originalSource: string;
  23. originalLine: number;
  24. originalColumn: number;
  25. }
  26. class SourceMap {
  27. readonly payload: SourceMapPayload;
  28. constructor(payload: SourceMapPayload);
  29. findEntry(line: number, column: number): SourceMapping;
  30. }
  31. }
  32. interface Module extends NodeModule {}
  33. class Module {
  34. static runMain(): void;
  35. static wrap(code: string): string;
  36. /**
  37. * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
  38. */
  39. static createRequireFromPath(path: string): NodeRequire;
  40. static createRequire(path: string | URL): NodeRequire;
  41. static builtinModules: string[];
  42. static Module: typeof Module;
  43. constructor(id: string, parent?: Module);
  44. }
  45. export = Module;
  46. }