mirror of
https://github.com/bendtherules/not-a-js-engine.git
synced 2026-08-18 13:52:36 +00:00
17 lines
315 B
TypeScript
17 lines
315 B
TypeScript
import { StringString } from './typeNames';
|
|
|
|
export interface TStringValue {
|
|
type: typeof StringString;
|
|
value: string;
|
|
}
|
|
|
|
export class StringValue implements TStringValue {
|
|
type: typeof StringString;
|
|
value: string;
|
|
|
|
constructor(value: string) {
|
|
this.type = StringString;
|
|
this.value = value;
|
|
}
|
|
}
|