@nasl/types 0.1.9-alpha → 0.1.10

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.
Files changed (2) hide show
  1. package/nasl.core.d.ts +5 -0
  2. package/package.json +1 -1
package/nasl.core.d.ts CHANGED
@@ -6,4 +6,9 @@ declare namespace nasl.core {
6
6
  export type Date = string;
7
7
  export type Time = string;
8
8
  export type DateTime = string;
9
+
10
+ export class StringLiteral<T> {
11
+ // eslint-disable-next-line @typescript-eslint/naming-convention
12
+ _value: T;
13
+ }
9
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nasl/types",
3
- "version": "0.1.9-alpha",
3
+ "version": "0.1.10",
4
4
  "description": "NASL types for TypeScript Declaration",
5
5
  "main": "index.d.ts",
6
6
  "scripts": {