-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring; Removed the need for triple-slash references in .d.ts by…
- Loading branch information
Showing
12 changed files
with
54 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
"use strict"; | ||
|
||
/** | ||
* Minimal static codegen runtime. | ||
* @namespace | ||
*/ | ||
var runtime = exports; | ||
|
||
/** @alias Reader */ | ||
runtime.Reader = require("./src/reader"); | ||
|
||
/** @alias Writer */ | ||
runtime.Writer = require("./src/writer"); | ||
|
||
/** @alias util */ | ||
runtime.util = require("./src/util/runtime"); | ||
// This file exports just the bare minimum required to work with statically generated code. | ||
// Can be used as a drop-in replacement for the full library as it has the same general structure. | ||
var protobuf_rt = exports; | ||
protobuf_rt.Reader = require("./src/reader"); | ||
protobuf_rt.Writer = require("./src/writer"); | ||
protobuf_rt.util = require("./src/util/runtime"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters