Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect tm return type #1772

Closed
4 tasks done
MalkovVladimir opened this issue Mar 24, 2024 · 1 comment
Closed
4 tasks done

Incorrect tm return type #1772

MalkovVladimir opened this issue Mar 24, 2024 · 1 comment
Labels
Status: Review Needed Request for review comments

Comments

@MalkovVladimir
Copy link

Reporting a bug?

Example from documentation not working correctly. tm - returns numer type when you try to iterate via array

image

Expected behavior

content variable type should be

type Example = {
  title: 'Title1',
  paragraphs: Array[...],
}

Reproduction

To reproduce it, go to stackblitz and run yarn build

image

System Info

System:
    OS: macOS 12.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 136.16 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.2.0 - /usr/local/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 8.9.0 - /usr/local/bin/npm
    bun: 1.0.18 - ~/.bun/bin/bun
  Browsers:
    Chrome: 123.0.6312.59
    Safari: 15.6
  npmPackages:
    @vitejs/plugin-basic-ssl: ^1.1.0 => 1.1.0 
    @vitejs/plugin-vue: ^5.0.3 => 5.0.4 
    vite: ^5.1.0 => 5.1.3 
    vite-svg-loader: ^5.1.0 => 5.1.0 
    vue: ^3.4.15 => 3.4.19 
    vue-i18n: ^9.10.2 => 9.10.2 
    vue-router: ^4.2.5 => 4.2.5 
    vue-tg: ^0.4.0 => 0.4.0 
    vue-tsc: ^1.8.27 => 1.8.27

Screenshot

No response

Additional context

No response

Validations

@MalkovVladimir MalkovVladimir added the Status: Review Needed Request for review comments label Mar 24, 2024
@kazupon
Copy link
Member

kazupon commented Apr 3, 2024

Thank you!
This issue has duplicate #1686, so close

Thanks!

@kazupon kazupon closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

2 participants