pulumi/tests/testdata/codegen/regress-node-8110/nodejs/index.ts

36 lines
1.2 KiB
TypeScript

// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
// Export members:
export { ExampleFuncArgs } from "./exampleFunc";
export const exampleFunc: typeof import("./exampleFunc").exampleFunc = null as any;
utilities.lazyLoad(exports, ["exampleFunc"], () => require("./exampleFunc"));
export { ProviderArgs } from "./provider";
export type Provider = import("./provider").Provider;
export const Provider: typeof import("./provider").Provider = null as any;
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
// Export enums:
export * from "./types/enums";
// Export sub-modules:
import * as types from "./types";
export {
types,
};
pulumi.runtime.registerResourcePackage("my8110", {
version: utilities.getVersion(),
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
if (type !== "pulumi:providers:my8110") {
throw new Error(`unknown provider type ${type}`);
}
return new Provider(name, <any>undefined, { urn });
},
});