Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilzu committed Oct 2, 2023
1 parent 4fc7940 commit b710b1c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/global-this/global-this-test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Object, Error } from './global-this';
import { Object, Error, String, Date, Boolean, Number } from "./global-this";

describe('global-this', () => {
it('generates types correctly', () => {
describe("global-this", () => {
it("generates types correctly", () => {
Object.fromPartial({});
Error.fromPartial({});
});
Expand Down
16 changes: 16 additions & 0 deletions integration/global-this/global-this.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,19 @@ message Object {
message Error {
string name = 1;
}

message String {
string value = 1;
}

message Boolean {
bool value = 1;
}

message Date {
int64 value = 1;
}

message Number {
double value = 1;
}

0 comments on commit b710b1c

Please sign in to comment.