Node-Red configuration
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

previous-map.d.ts 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. import { SourceMapConsumer } from 'source-map-js'
  2. import { ProcessOptions } from './postcss.js'
  3. declare namespace PreviousMap {
  4. // eslint-disable-next-line @typescript-eslint/no-use-before-define
  5. export { PreviousMap_ as default }
  6. }
  7. /**
  8. * Source map information from input CSS.
  9. * For example, source map after Sass compiler.
  10. *
  11. * This class will automatically find source map in input CSS or in file system
  12. * near input file (according `from` option).
  13. *
  14. * ```js
  15. * const root = parse(css, { from: 'a.sass.css' })
  16. * root.input.map //=> PreviousMap
  17. * ```
  18. */
  19. declare class PreviousMap_ {
  20. /**
  21. * `sourceMappingURL` content.
  22. */
  23. annotation?: string
  24. /**
  25. * The CSS source identifier. Contains `Input#file` if the user
  26. * set the `from` option, or `Input#id` if they did not.
  27. */
  28. file?: string
  29. /**
  30. * Was source map inlined by data-uri to input CSS.
  31. */
  32. inline: boolean
  33. /**
  34. * Path to source map file.
  35. */
  36. mapFile?: string
  37. /**
  38. * The directory with source map file, if source map is in separated file.
  39. */
  40. root?: string
  41. /**
  42. * Source map file content.
  43. */
  44. text?: string
  45. /**
  46. * @param css Input CSS source.
  47. * @param opts Process options.
  48. */
  49. constructor(css: string, opts?: ProcessOptions)
  50. /**
  51. * Create a instance of `SourceMapGenerator` class
  52. * from the `source-map` library to work with source map information.
  53. *
  54. * It is lazy method, so it will create object only on first call
  55. * and then it will use cache.
  56. *
  57. * @return Object with source map information.
  58. */
  59. consumer(): SourceMapConsumer
  60. /**
  61. * Does source map contains `sourcesContent` with input source text.
  62. *
  63. * @return Is `sourcesContent` present.
  64. */
  65. withContent(): boolean
  66. }
  67. declare class PreviousMap extends PreviousMap_ {}
  68. export = PreviousMap