Skip to content
module@warp-drive/legacy/model @legacy

Function teardownRecord() ​

ts
function teardownRecord(record: Model): void;

Defined in: warp-drive-packages/legacy/src/model/-private/hooks.ts:59

The teardownRecord hook implementation for use with Model. Pass this to your store's teardownRecord method when configuring the store to use Model for schema/record instantiation.

Parameters ​

record ​

Model

Returns ​

void

Released under the MIT License.