mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 10:01:39 -05:00
18 lines
327 B
TypeScript
18 lines
327 B
TypeScript
import { Type } from "./Type"
|
|
|
|
export class VoidType implements Type {
|
|
public static instance = new VoidType()
|
|
public kind = "void"
|
|
|
|
public toConstructor() {
|
|
return "VoidType.instance"
|
|
}
|
|
|
|
public toString() {
|
|
return this.kind
|
|
}
|
|
|
|
public convert(argument) {
|
|
return null
|
|
}
|
|
}
|