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