[go: up one dir, main page]

Skip to content

Commit

Permalink
samples: missed import conversion in TS (#1877)
Browse files Browse the repository at this point in the history
I caught this while publishing all of the TypeScript samples.
  • Loading branch information
feywind committed Feb 2, 2024
1 parent 979174c commit 84df422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/typescript/createSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// const subscriptionNameOrId = 'YOUR_SUBSCRIPTION_NAME_OR_ID';

// Imports the Google Cloud client library
const {PubSub} = require('@google-cloud/pubsub');
import {PubSub} from '@google-cloud/pubsub';

// Creates a client; cache this for further use
const pubSubClient = new PubSub();
Expand Down

0 comments on commit 84df422

Please sign in to comment.