mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
* feat(simperium) new type definitions Add type definitions and stub test file for `simperium` library * Use my github username and not "me" - thanks danger-public * Export low-level types * Add missing Bucket property * Fix small issues discovered in testing * Fix a few small issues; add README
5 lines
175 B
TypeScript
5 lines
175 B
TypeScript
import simperium = require('simperium');
|
|
|
|
const client = simperium.createClient<{ repo: { name: string } }>('test', 'test');
|
|
client.bucket('repo').name; // $ExpectType "repo"
|