Skip to content

Commit 5f0ae58

Browse files
committed
docs: update wrong imports
1 parent 697ec54 commit 5f0ae58

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/content/docs/extend/custom_lock_store.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Feel free to take a lot at [the existing drivers](https://github.com/Julien-R44/
2121
Once you defined you driver, you can create a factory function that will be used by Verrou to create instances of your driver at runtime. The factory function must be something like this:
2222

2323
```ts
24-
import type { CreateDriverResult } from 'verrou/types'
24+
import type { CreateDriverResult } from '@verrou/core/types'
2525

2626
export function myStore(config: MyStoreOptions): CreateDriverResult<MyStoreOptions> {
2727
return { config, factory: () => new MyDriver(config) }
@@ -31,7 +31,7 @@ export function myStore(config: MyStoreOptions): CreateDriverResult<MyStoreOptio
3131
Finally, you can use your driver when creating a new instance of Verrou:
3232

3333
```ts
34-
import { Verrou } from 'verrou'
34+
import { Verrou } from '@verrou/core'
3535
import { myStore } from './my_store.js'
3636

3737
const verrou = new Verrou({
@@ -50,7 +50,7 @@ If you want to test your driver and its compliance, Verrou is shipped with a tes
5050
// title: tests/my_driver.spec.ts
5151
import { test } from '@japa/runner'
5252
import { MyDriver } from '../src/my_driver.js'
53-
import { registerStoreTestSuite } from 'verrou/test_suite'
53+
import { registerStoreTestSuite } from '@verrou/core/test_suite'
5454

5555
test.group('My Store', (group) => {
5656
registerStoreTestSuite({

0 commit comments

Comments
 (0)