@lostcityrs/runescript 0.9.5 → 0.9.6

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/README.md CHANGED
@@ -72,4 +72,4 @@ Consumers should use this. It is production-ready and produces compatible output
72
72
 
73
73
  Polar: For your years of work on Neptune and many days brainstorming together.
74
74
  Flenarn: For your effort porting so much Kotlin code to TypeScript. There were only a few lines to fix afterwards - great job.
75
- Contributions in RuneScriptKt: Henke96 [PR #1](https://github.com/LostCityRS/RuneScriptKt/pull/1) and Bea5 [PR #2](https://github.com/LostCityRS/RuneScriptKt/pull/1).
75
+ Contributions in RuneScriptKt: Henke96 [PR #1](https://github.com/LostCityRS/RuneScriptKt/pull/1) and Bea5 [PR #2](https://github.com/LostCityRS/RuneScriptKt/pull/2).
@@ -6,6 +6,7 @@ export declare function CompileServerScript(config?: {
6
6
  symbols?: Record<string, CompilerTypeInfo>;
7
7
  excludePaths?: string[];
8
8
  checkPointers?: boolean;
9
+ features?: StrictFeatureLevel;
9
10
  writer?: {
10
11
  jag?: {
11
12
  output: string;
@@ -16,6 +17,21 @@ export declare function CompileServerScript(config?: {
16
17
  };
17
18
  }): void;
18
19
 
20
+ export declare type StrictFeatureLevel = {
21
+ booleans?: boolean;
22
+ procs?: boolean;
23
+ macros?: boolean;
24
+ enums?: boolean;
25
+ structs?: boolean;
26
+ dbtables?: boolean;
27
+ logicalAnd?: boolean;
28
+ calc?: boolean;
29
+ relationalEquals?: boolean;
30
+ queueTyped?: boolean;
31
+ topLevelDefOnly?: boolean;
32
+ pointerInversion?: boolean;
33
+ };
34
+
19
35
  export declare type CompilerTypeInfo = {
20
36
  max: number;
21
37
  map: Record<string, string>;