@teambit/workspace.testing.mock-workspace 0.0.53 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +42 -7
- package/dist/index.js.map +1 -1
- package/dist/mock-workspace.js +86 -64
- package/dist/mock-workspace.js.map +1 -1
- package/package.json +5 -5
- package/types/asset.d.ts +15 -3
- package/dist/preview-1738379875603.js +0 -7
package/dist/index.js
CHANGED
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "WorkspaceData", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _mockWorkspace().WorkspaceData;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "destroyWorkspace", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _mockWorkspace().destroyWorkspace;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "mockBareScope", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _mockWorkspace().mockBareScope;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "mockWorkspace", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _mockWorkspace().mockWorkspace;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "setWorkspaceConfig", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _mockWorkspace().setWorkspaceConfig;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
function _mockWorkspace() {
|
|
37
|
+
const data = require("./mock-workspace");
|
|
38
|
+
_mockWorkspace = function () {
|
|
39
|
+
return data;
|
|
40
|
+
};
|
|
41
|
+
return data;
|
|
42
|
+
}
|
|
43
|
+
|
|
9
44
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["_mockWorkspace","data","require"],"sources":["index.ts"],"sourcesContent":["export { mockWorkspace, destroyWorkspace, WorkspaceData, setWorkspaceConfig, mockBareScope } from './mock-workspace';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA","ignoreList":[]}
|
package/dist/mock-workspace.js
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.mockWorkspace = mockWorkspace;
|
|
16
|
-
exports.mockBareScope = mockBareScope;
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
17
6
|
exports.destroyWorkspace = destroyWorkspace;
|
|
7
|
+
exports.mockBareScope = mockBareScope;
|
|
8
|
+
exports.mockWorkspace = mockWorkspace;
|
|
18
9
|
exports.setWorkspaceConfig = setWorkspaceConfig;
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
function _fsExtra() {
|
|
11
|
+
const data = _interopRequireDefault(require("fs-extra"));
|
|
12
|
+
_fsExtra = function () {
|
|
13
|
+
return data;
|
|
14
|
+
};
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
function _path() {
|
|
18
|
+
const data = _interopRequireDefault(require("path"));
|
|
19
|
+
_path = function () {
|
|
20
|
+
return data;
|
|
21
|
+
};
|
|
22
|
+
return data;
|
|
23
|
+
}
|
|
24
|
+
function _legacy() {
|
|
25
|
+
const data = require("@teambit/legacy.e2e-helper");
|
|
26
|
+
_legacy = function () {
|
|
27
|
+
return data;
|
|
28
|
+
};
|
|
29
|
+
return data;
|
|
30
|
+
}
|
|
31
|
+
function _commentJson() {
|
|
32
|
+
const data = require("comment-json");
|
|
33
|
+
_commentJson = function () {
|
|
34
|
+
return data;
|
|
35
|
+
};
|
|
36
|
+
return data;
|
|
37
|
+
}
|
|
38
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
39
|
const isDebugMode = () => process.argv.includes('--debug');
|
|
40
|
+
|
|
24
41
|
/**
|
|
25
42
|
* setup a new workspace on a temp directory and setup a bare-scope locally to simulate a remote scope for commands
|
|
26
43
|
* such as `bit export`.
|
|
@@ -29,59 +46,64 @@ const isDebugMode = () => process.argv.includes('--debug');
|
|
|
29
46
|
* to print the path of the workspace, run the tests with `--debug` flag.
|
|
30
47
|
*/
|
|
31
48
|
function mockWorkspace(opts = {}) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
};
|
|
49
|
+
const legacyHelper = new (_legacy().Helper)();
|
|
50
|
+
if (opts.bareScopeName) {
|
|
51
|
+
legacyHelper.scopeHelper.reInitLocalScope();
|
|
52
|
+
legacyHelper.scopes.setRemoteScope(undefined, undefined, opts.bareScopeName);
|
|
53
|
+
legacyHelper.scopeHelper.addRemoteScope();
|
|
54
|
+
} else {
|
|
55
|
+
legacyHelper.scopeHelper.setNewLocalAndRemoteScopes();
|
|
56
|
+
}
|
|
57
|
+
legacyHelper.workspaceJsonc.setupDefault();
|
|
58
|
+
if (isDebugMode()) {
|
|
59
|
+
// eslint-disable-next-line no-console
|
|
60
|
+
console.log('workspace created at ', legacyHelper.scopes.localPath);
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
workspacePath: legacyHelper.scopes.localPath,
|
|
64
|
+
remoteScopePath: legacyHelper.scopes.remotePath,
|
|
65
|
+
remoteScopeName: legacyHelper.scopes.remote
|
|
66
|
+
};
|
|
51
67
|
}
|
|
52
68
|
function mockBareScope(remoteToAdd, scopeNameSuffix) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
69
|
+
const legacyHelper = new (_legacy().Helper)();
|
|
70
|
+
const {
|
|
71
|
+
scopeName,
|
|
72
|
+
scopePath
|
|
73
|
+
} = legacyHelper.scopeHelper.getNewBareScope(scopeNameSuffix, undefined, remoteToAdd);
|
|
74
|
+
if (isDebugMode()) {
|
|
75
|
+
// eslint-disable-next-line no-console
|
|
76
|
+
console.log('base-scope created at ', scopePath);
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
scopeName,
|
|
80
|
+
scopePath
|
|
81
|
+
};
|
|
60
82
|
}
|
|
83
|
+
|
|
61
84
|
/**
|
|
62
85
|
* deletes the paths created by mockWorkspace. pass the results you got from `mockWorkspace()`
|
|
63
86
|
*
|
|
64
87
|
* to keep the workspace and the remote scope, run the tests with `--debug` flag.
|
|
65
88
|
*/
|
|
66
|
-
function destroyWorkspace(workspaceData) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
89
|
+
async function destroyWorkspace(workspaceData) {
|
|
90
|
+
if (isDebugMode()) return;
|
|
91
|
+
const {
|
|
92
|
+
workspacePath,
|
|
93
|
+
remoteScopePath
|
|
94
|
+
} = workspaceData;
|
|
95
|
+
await Promise.all([workspacePath, remoteScopePath].map(_ => _fsExtra().default.remove(_)));
|
|
73
96
|
}
|
|
74
|
-
function setWorkspaceConfig(workspacePath, key, val) {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
yield fs_extra_1.default.writeFile(workspaceConfigPath, contentToWrite);
|
|
85
|
-
});
|
|
97
|
+
async function setWorkspaceConfig(workspacePath, key, val) {
|
|
98
|
+
const workspaceConfigPath = _path().default.join(workspacePath, 'workspace.jsonc');
|
|
99
|
+
const content = await _fsExtra().default.readFile(workspaceConfigPath, 'utf-8');
|
|
100
|
+
const workspaceConfig = (0, _commentJson().parse)(content);
|
|
101
|
+
const obj = {
|
|
102
|
+
[key]: val
|
|
103
|
+
};
|
|
104
|
+
const updated = (0, _commentJson().assign)(workspaceConfig, obj);
|
|
105
|
+
const contentToWrite = (0, _commentJson().stringify)(updated, null, 2);
|
|
106
|
+
await _fsExtra().default.writeFile(workspaceConfigPath, contentToWrite);
|
|
86
107
|
}
|
|
108
|
+
|
|
87
109
|
//# sourceMappingURL=mock-workspace.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["_fsExtra","data","_interopRequireDefault","require","_path","_legacy","_commentJson","e","__esModule","default","isDebugMode","process","argv","includes","mockWorkspace","opts","legacyHelper","LegacyHelper","bareScopeName","scopeHelper","reInitLocalScope","scopes","setRemoteScope","undefined","addRemoteScope","setNewLocalAndRemoteScopes","workspaceJsonc","setupDefault","console","log","localPath","workspacePath","remoteScopePath","remotePath","remoteScopeName","remote","mockBareScope","remoteToAdd","scopeNameSuffix","scopeName","scopePath","getNewBareScope","destroyWorkspace","workspaceData","Promise","all","map","_","fs","remove","setWorkspaceConfig","key","val","workspaceConfigPath","path","join","content","readFile","workspaceConfig","parse","obj","updated","assign","contentToWrite","stringify","writeFile"],"sources":["mock-workspace.ts"],"sourcesContent":["import fs from 'fs-extra';\nimport path from 'path';\nimport { Helper as LegacyHelper } from '@teambit/legacy.e2e-helper';\nimport { assign, parse, stringify } from 'comment-json';\n\nexport type WorkspaceData = { workspacePath: string; remoteScopePath: string; remoteScopeName: string };\n\nconst isDebugMode = () => process.argv.includes('--debug');\n\n/**\n * setup a new workspace on a temp directory and setup a bare-scope locally to simulate a remote scope for commands\n * such as `bit export`.\n * call `destroyWorkspace()` once the tests completed to keep the filesystem clean.\n *\n * to print the path of the workspace, run the tests with `--debug` flag.\n */\nexport function mockWorkspace(opts: { bareScopeName?: string } = {}): WorkspaceData {\n const legacyHelper = new LegacyHelper();\n if (opts.bareScopeName) {\n legacyHelper.scopeHelper.reInitLocalScope();\n legacyHelper.scopes.setRemoteScope(undefined, undefined, opts.bareScopeName);\n legacyHelper.scopeHelper.addRemoteScope();\n } else {\n legacyHelper.scopeHelper.setNewLocalAndRemoteScopes();\n }\n legacyHelper.workspaceJsonc.setupDefault();\n if (isDebugMode()) {\n // eslint-disable-next-line no-console\n console.log('workspace created at ', legacyHelper.scopes.localPath);\n }\n\n return {\n workspacePath: legacyHelper.scopes.localPath,\n remoteScopePath: legacyHelper.scopes.remotePath,\n remoteScopeName: legacyHelper.scopes.remote,\n };\n}\n\nexport function mockBareScope(remoteToAdd: string, scopeNameSuffix?: string) {\n const legacyHelper = new LegacyHelper();\n const { scopeName, scopePath } = legacyHelper.scopeHelper.getNewBareScope(scopeNameSuffix, undefined, remoteToAdd);\n if (isDebugMode()) {\n // eslint-disable-next-line no-console\n console.log('base-scope created at ', scopePath);\n }\n\n return { scopeName, scopePath };\n}\n\n/**\n * deletes the paths created by mockWorkspace. pass the results you got from `mockWorkspace()`\n *\n * to keep the workspace and the remote scope, run the tests with `--debug` flag.\n */\nexport async function destroyWorkspace(workspaceData: WorkspaceData) {\n if (isDebugMode()) return;\n const { workspacePath, remoteScopePath } = workspaceData;\n await Promise.all([workspacePath, remoteScopePath].map((_) => fs.remove(_)));\n}\n\nexport async function setWorkspaceConfig(workspacePath: string, key: string, val: any) {\n const workspaceConfigPath = path.join(workspacePath, 'workspace.jsonc');\n const content = await fs.readFile(workspaceConfigPath, 'utf-8');\n const workspaceConfig = parse(content);\n const obj = {\n [key]: val,\n };\n const updated = assign(workspaceConfig, obj);\n const contentToWrite = stringify(updated, null, 2);\n await fs.writeFile(workspaceConfigPath, contentToWrite);\n}\n"],"mappings":";;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,MAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,QAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,OAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,aAAA;EAAA,MAAAL,IAAA,GAAAE,OAAA;EAAAG,YAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAwD,SAAAC,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAIxD,MAAMG,WAAW,GAAGA,CAAA,KAAMC,OAAO,CAACC,IAAI,CAACC,QAAQ,CAAC,SAAS,CAAC;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,aAAaA,CAACC,IAAgC,GAAG,CAAC,CAAC,EAAiB;EAClF,MAAMC,YAAY,GAAG,KAAIC,gBAAY,EAAC,CAAC;EACvC,IAAIF,IAAI,CAACG,aAAa,EAAE;IACtBF,YAAY,CAACG,WAAW,CAACC,gBAAgB,CAAC,CAAC;IAC3CJ,YAAY,CAACK,MAAM,CAACC,cAAc,CAACC,SAAS,EAAEA,SAAS,EAAER,IAAI,CAACG,aAAa,CAAC;IAC5EF,YAAY,CAACG,WAAW,CAACK,cAAc,CAAC,CAAC;EAC3C,CAAC,MAAM;IACLR,YAAY,CAACG,WAAW,CAACM,0BAA0B,CAAC,CAAC;EACvD;EACAT,YAAY,CAACU,cAAc,CAACC,YAAY,CAAC,CAAC;EAC1C,IAAIjB,WAAW,CAAC,CAAC,EAAE;IACjB;IACAkB,OAAO,CAACC,GAAG,CAAC,uBAAuB,EAAEb,YAAY,CAACK,MAAM,CAACS,SAAS,CAAC;EACrE;EAEA,OAAO;IACLC,aAAa,EAAEf,YAAY,CAACK,MAAM,CAACS,SAAS;IAC5CE,eAAe,EAAEhB,YAAY,CAACK,MAAM,CAACY,UAAU;IAC/CC,eAAe,EAAElB,YAAY,CAACK,MAAM,CAACc;EACvC,CAAC;AACH;AAEO,SAASC,aAAaA,CAACC,WAAmB,EAAEC,eAAwB,EAAE;EAC3E,MAAMtB,YAAY,GAAG,KAAIC,gBAAY,EAAC,CAAC;EACvC,MAAM;IAAEsB,SAAS;IAAEC;EAAU,CAAC,GAAGxB,YAAY,CAACG,WAAW,CAACsB,eAAe,CAACH,eAAe,EAAEf,SAAS,EAAEc,WAAW,CAAC;EAClH,IAAI3B,WAAW,CAAC,CAAC,EAAE;IACjB;IACAkB,OAAO,CAACC,GAAG,CAAC,wBAAwB,EAAEW,SAAS,CAAC;EAClD;EAEA,OAAO;IAAED,SAAS;IAAEC;EAAU,CAAC;AACjC;;AAEA;AACA;AACA;AACA;AACA;AACO,eAAeE,gBAAgBA,CAACC,aAA4B,EAAE;EACnE,IAAIjC,WAAW,CAAC,CAAC,EAAE;EACnB,MAAM;IAAEqB,aAAa;IAAEC;EAAgB,CAAC,GAAGW,aAAa;EACxD,MAAMC,OAAO,CAACC,GAAG,CAAC,CAACd,aAAa,EAAEC,eAAe,CAAC,CAACc,GAAG,CAAEC,CAAC,IAAKC,kBAAE,CAACC,MAAM,CAACF,CAAC,CAAC,CAAC,CAAC;AAC9E;AAEO,eAAeG,kBAAkBA,CAACnB,aAAqB,EAAEoB,GAAW,EAAEC,GAAQ,EAAE;EACrF,MAAMC,mBAAmB,GAAGC,eAAI,CAACC,IAAI,CAACxB,aAAa,EAAE,iBAAiB,CAAC;EACvE,MAAMyB,OAAO,GAAG,MAAMR,kBAAE,CAACS,QAAQ,CAACJ,mBAAmB,EAAE,OAAO,CAAC;EAC/D,MAAMK,eAAe,GAAG,IAAAC,oBAAK,EAACH,OAAO,CAAC;EACtC,MAAMI,GAAG,GAAG;IACV,CAACT,GAAG,GAAGC;EACT,CAAC;EACD,MAAMS,OAAO,GAAG,IAAAC,qBAAM,EAACJ,eAAe,EAAEE,GAAG,CAAC;EAC5C,MAAMG,cAAc,GAAG,IAAAC,wBAAS,EAACH,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;EAClD,MAAMb,kBAAE,CAACiB,SAAS,CAACZ,mBAAmB,EAAEU,cAAc,CAAC;AACzD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace.testing.mock-workspace",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/workspace/testing/mock-workspace",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.workspace",
|
|
8
8
|
"name": "testing/mock-workspace",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.54"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"comment-json": "4.2.5",
|
|
13
13
|
"fs-extra": "10.0.0",
|
|
14
|
-
"@teambit/legacy.e2e-helper": "0.0.
|
|
14
|
+
"@teambit/legacy.e2e-helper": "0.0.27"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/fs-extra": "9.0.7",
|
|
18
18
|
"@types/mocha": "9.1.0",
|
|
19
|
-
"
|
|
20
|
-
"@
|
|
19
|
+
"chai": "4.3.0",
|
|
20
|
+
"@teambit/node.envs.node-babel-mocha": "0.1.4"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {},
|
|
23
23
|
"license": "Apache-2.0",
|
package/types/asset.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ declare module '*.png' {
|
|
|
5
5
|
declare module '*.svg' {
|
|
6
6
|
import type { FunctionComponent, SVGProps } from 'react';
|
|
7
7
|
|
|
8
|
-
export const ReactComponent: FunctionComponent<
|
|
8
|
+
export const ReactComponent: FunctionComponent<
|
|
9
|
+
SVGProps<SVGSVGElement> & { title?: string }
|
|
10
|
+
>;
|
|
9
11
|
const src: string;
|
|
10
12
|
export default src;
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
// @TODO Gilad
|
|
14
14
|
declare module '*.jpg' {
|
|
15
15
|
const value: any;
|
|
16
16
|
export = value;
|
|
@@ -27,3 +27,15 @@ declare module '*.bmp' {
|
|
|
27
27
|
const value: any;
|
|
28
28
|
export = value;
|
|
29
29
|
}
|
|
30
|
+
declare module '*.otf' {
|
|
31
|
+
const value: any;
|
|
32
|
+
export = value;
|
|
33
|
+
}
|
|
34
|
+
declare module '*.woff' {
|
|
35
|
+
const value: any;
|
|
36
|
+
export = value;
|
|
37
|
+
}
|
|
38
|
+
declare module '*.woff2' {
|
|
39
|
+
const value: any;
|
|
40
|
+
export = value;
|
|
41
|
+
}
|