Skip to content

Commit

Permalink
feat: add filepath to esm index.ts file (#1900)
Browse files Browse the repository at this point in the history
* feat: add filepath to esm index.ts file
  • Loading branch information
sofisl committed Nov 20, 2023
1 parent 7324804 commit 74ed3eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Expand Up @@ -16,7 +16,7 @@
// ** https://github.com/googleapis/synthtool **
// ** All changes to this file may be overwritten. **

{% for version in versions %}import * as {{ version }} from './{{ version}}.js';{{ "\n" }}{% endfor %}
{% for version in versions %}import * as {{ version }} from './{{ version}}/index.js';{{ "\n" }}{% endfor %}
{% for client in clients %}const {{ client }} = {{ default_version }}.{{ client }};
type {{ client }} = {{ default_version }}.{{ client }};{{ "\n" }}{% endfor %}
export {{ "{" }}{{ versions|join(', ')}}, {{ clients|join(', ')}}{{ "}" }};
Expand Down
Expand Up @@ -16,8 +16,8 @@
// ** https://github.com/googleapis/synthtool **
// ** All changes to this file may be overwritten. **

import * as v1 from './v1.js';
import * as v1beta1 from './v1beta1.js';
import * as v1 from './v1/index.js';
import * as v1beta1 from './v1beta1/index.js';

const TextToSpeechClient = v1.TextToSpeechClient;
type TextToSpeechClient = v1.TextToSpeechClient;
Expand Down
Expand Up @@ -16,8 +16,8 @@
// ** https://github.com/googleapis/synthtool **
// ** All changes to this file may be overwritten. **

import * as v1 from './v1.js';
import * as v1beta1 from './v1beta1.js';
import * as v1 from './v1/index.js';
import * as v1beta1 from './v1beta1/index.js';

const TextToSpeechClient = v1.TextToSpeechClient;
type TextToSpeechClient = v1.TextToSpeechClient;
Expand Down
Expand Up @@ -16,7 +16,7 @@
// ** https://github.com/googleapis/synthtool **
// ** All changes to this file may be overwritten. **

import * as v2 from './v2.js';
import * as v2 from './v2/index.js';

const DlpServiceClient = v2.DlpServiceClient;
type DlpServiceClient = v2.DlpServiceClient;
Expand Down

0 comments on commit 74ed3eb

Please sign in to comment.