wrec 0.35.3 → 0.35.4
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/package.json +1 -1
- package/scripts/declare.js +1 -1
package/package.json
CHANGED
package/scripts/declare.js
CHANGED
|
@@ -259,7 +259,7 @@ function validateFile(absFilePath) {
|
|
|
259
259
|
if (!stat.isFile()) throw new Error('Not a file');
|
|
260
260
|
|
|
261
261
|
if (!/\.ts$/.test(absFilePath)) {
|
|
262
|
-
throw new Error('
|
|
262
|
+
throw new Error('declare statements can only be added in .ts files');
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
|