Skip to content

Commit

Permalink
docs: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Nov 30, 2023
1 parent f6b5e77 commit 8303cb0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion docs/src/content/contributors/chau-tran.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"name": "Chau Tran"
"name": "Chau Tran",
"twitter": "https://twitter.com/Nartc1410",
"github": "https://github.com/nartc",
"website": "https://nartc.me"
}
3 changes: 3 additions & 0 deletions docs/src/content/contributors/fiorelozere.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "Fiorelo Zere"
}
8 changes: 5 additions & 3 deletions libs/ngxtension/signal-slice/src/signal-slice.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ describe(signalSlice.name, () => {
});

it('should not accept optional properties in initial state', () => {
// @ts-expect-error: Testing that signalSlice should not accept an optional property in its initial state
signalSlice<{ optional?: string }, any, any, any>({
initialState: { optional: 'test' },
TestBed.runInInjectionContext(() => {
// @ts-expect-error: Testing that signalSlice should not accept an optional property in its initial state
signalSlice<{ optional?: string }, any, any, any>({
initialState: { optional: 'test' },
});
});
});
});
Expand Down

0 comments on commit 8303cb0

Please sign in to comment.