Skip to content
module@warp-drive/core

Type ResourceType ​

ts
const ResourceType: "___(unique) Symbol($type)" = Type;

Defined in: warp-drive-packages/core/src/types/symbols.ts:77

Symbol for the type of a resource.

This is an optional feature that can be used by record implementations to provide a typescript hint for the type of the resource.

When used, WarpDrive APIs can take advantage of this to provide better type safety and intellisense.

Released under the MIT License.