npm.io
2.1.3 • Published 2 years ago

@types/resolve-protobuf-schema

Licence
MIT
Version
2.1.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/resolve-protobuf-schema

Summary

This package contains type definitions for resolve-protobuf-schema (https://github.com/mafintosh/resolve-protobuf-schema).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/resolve-protobuf-schema.

index.d.ts

import { Schema } from "protocol-buffers-schema/types";

declare namespace ResolveProtobufSchema {
    function sync(file: string): Schema;
}

declare function ResolveProtobufSchema(file: string, callback: (error: Error | null, schema?: Schema) => void): void;
export = ResolveProtobufSchema;

Additional Details

Credits

These definitions were written by Claas Ahlrichs.