Skip to content

Commit db83c11

Browse files
committed
fix spurrious type issue
1 parent fb82e02 commit db83c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/warp-drive__schema-record/tests/polaris/basic-fields-field-read-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module('Reads | basic fields', function (hooks) {
5454
})
5555
);
5656

57-
const record = store.createRecord('user', { name: 'Rey Skybarker' }) as User;
57+
const record = store.createRecord<User>('user', { name: 'Rey Skybarker' });
5858

5959
assert.strictEqual(record.id, null, 'id is accessible');
6060
assert.strictEqual(record.$type, 'user', '$type is accessible');

0 commit comments

Comments
 (0)