I hereby claim:
- I am svish on github.
- I am svish (https://keybase.io/svish) on keybase.
- I have a public key ASBPE3F4o2NgH4-oaE41Y4ATJ5H-nYiVLG5bYpvKgJ_CKQo
To claim this, I am signing this object:
import { isValidFodselsnummer } from '.'; | |
describe(isValidFodselsnummer.name, () => { | |
valid.forEach((fnr) => { | |
it(`"${fnr}" er et gyldig fødselsnummer`, () => { | |
expect(isValidFodselsnummer(fnr)).toBe(true); | |
}); | |
}); | |
invalid.forEach((fnr) => { |
import React, { useMemo } from 'react'; | |
import { | |
QueryClientProvider, | |
QueryClient, | |
QueryCache, | |
MutationCache, | |
} from 'react-query'; | |
import { ReactQueryDevtools } from 'react-query/devtools'; | |
import { createDefaultQueryFn } from './defaultQueryFn'; |
import React from 'react'; | |
import render, { RenderProp } from 'common/react/render'; | |
import history from 'util/history'; | |
import { UnregisterCallback } from 'history'; | |
type ErrorInfo = { componentStack: string }; | |
type CaughtError = Error & ErrorInfo; | |
interface State { |
I hereby claim:
To claim this, I am signing this object:
-- Helper function for looping over a range | |
function range(limit) | |
local function seq(state, x) | |
if (x >= limit) then | |
return nil | |
else | |
return x + 1 | |
end | |
end | |
return seq, nil, 0 |