File: mdn-data.d.ts

package info (click to toggle)
node-csstype 3.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,320 kB
  • sloc: javascript: 49; makefile: 2
file content (103 lines) | stat: -rw-r--r-- 1,814 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
declare namespace MDN {
  interface Property {
    syntax: string;
    media: string;
    inherited: boolean;
    animationType: string;
    percentages: string;
    groups: string[];
    initial: string;
    appliesto: string;
    computed: string | string[];
    order: string;
    status: string;
    mdn_url?: string;
  }

  interface Properties {
    [property: string]: Property;
  }

  interface Syntax {
    syntax: string;
  }

  interface Syntaxes {
    [property: string]: Syntax;
  }

  interface Selector {
    syntax: string;
    groups: string[];
    status: string;
  }

  interface Selectors {
    [selector: string]: Selector;
  }

  interface Types {
    [name: string]: any;
  }

  interface Descriptor {
    syntax: string;
    media: string;
    percentages: string | string[];
    initial: string | string[];
    computed: string | string[];
    order: string;
  }

  interface Descriptors {
    [descriptor: string]: Descriptor;
  }

  interface AtRule {
    syntax: string;
    interfaces: string[];
    groups: string[];
    descriptors: Descriptors;
    status: string;
  }

  interface AtRules {
    [name: string]: AtRule;
  }

  interface L10N {
    [key: string]: {
      'en-US': string;
    };
  }
}

declare module 'mdn-data/css/properties.json' {
  var properties: MDN.Properties;
  export = properties;
}

declare module 'mdn-data/css/syntaxes.json' {
  var syntaxes: MDN.Syntaxes;
  export = syntaxes;
}

declare module 'mdn-data/css/selectors.json' {
  var selectors: MDN.Selectors;
  export = selectors;
}

declare module 'mdn-data/css/types.json' {
  var types: MDN.Types;
  export = types;
}

declare module 'mdn-data/css/at-rules.json' {
  var atRules: MDN.AtRules;
  export = atRules;
}

declare module 'mdn-data/l10n/css.json' {
  var l10n: MDN.L10N;
  export = l10n;
}