Example Usage:
$ go build -i -o protoc-gen-grpc-gateway-ts .
$ protoc -I ./lib/proto ./lib/proto/*.proto
--plugin=protoc-gen-grpc_gateway_ts=which protoc-gen-grpc-gateway-ts
--grpc_gateway_ts_out=lib/ts/src
| This code scans a text file and performs some basic manipulations on its contents to unearth amulets, | |
| as defined by Robin Sloan. | |
| Learn more about them at https://text.bargains | |
| USAGE: go run . | |
| Expects a filename called shakespeare.txt in the same directory. | |
| I used a version from the Gutenberg Project, with gratitude: |
| import { Operation } from 'slate' | |
| import { composeOperations } from './compose' | |
| function testComposition(operations: Operation[], expected: Operation[]) { | |
| expect(composeOperations([], operations)).toEqual(expected) | |
| } | |
| const path = [0, 0] | |
| describe('Inserting text', () => { | |
| test('Inserting consecutive text composes them to a single operation', () => { |
Example Usage:
$ go build -i -o protoc-gen-grpc-gateway-ts .
$ protoc -I ./lib/proto ./lib/proto/*.proto
--plugin=protoc-gen-grpc_gateway_ts=which protoc-gen-grpc-gateway-ts
--grpc_gateway_ts_out=lib/ts/src
| // Type definitions for Google Cloud Spanner 1.4 | |
| // Project: https://github.com/googleapis/nodejs-spanner | |
| // Definitions by: Jamie Talbot <https://github.com/majelbstoat> | |
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
| // TypeScript Version: 2.7 | |
| /// <reference types="node"/> | |
| declare module '@google-cloud/spanner' { | |
| export type SpannerDate = object |
| declare module 'slate-react' { | |
| import Slate from 'slate' | |
| import Immutable from 'immutable' | |
| import { ReactNode } from 'react' | |
| type RenderMarkProps = { | |
| mark: { type: string } | |
| children: ReactNode | |
| } |
I hereby claim:
To claim this, I am signing this object: