xray16 1.1.0 → 1.1.1
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/types/xrf_plugin.d.ts +8 -1
package/package.json
CHANGED
package/types/xrf_plugin.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
declare global {
|
|
2
2
|
/**
|
|
3
|
-
* Utility to get current
|
|
3
|
+
* Utility to get current file name as inline value during transpiling, similar to __filename in node.
|
|
4
4
|
*
|
|
5
5
|
* @group xrf_plugin
|
|
6
6
|
*/
|
|
7
7
|
const $filename: string;
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Utility to get current directory name as inline value during transpiling, similar to __dirname in node.
|
|
11
|
+
*
|
|
12
|
+
* @group xrf_plugin
|
|
13
|
+
*/
|
|
14
|
+
const $dirname: string;
|
|
15
|
+
|
|
9
16
|
/**
|
|
10
17
|
* Utility to transform TS provided array to a lua one.
|
|
11
18
|
* Just wrapper that is stripped compile time, but simplifies unit testing with TS.
|