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

variable soy is undeclared #838

Open
lemito opened this issue Aug 2, 2022 · 1 comment
Open

variable soy is undeclared #838

lemito opened this issue Aug 2, 2022 · 1 comment

Comments

@lemito
Copy link

lemito commented Aug 2, 2022

simple.soy.js:22:54: ERROR - [JSC_UNDEFINED_VARIABLE] variable soy is undeclared
  22|   return '' + ((! opt_data.greetingWord) ? 'Hello ' + soy.$$escapeHtml(opt_data.name) + '!' : soy.$$escapeHtml(opt_data.greetingWord) + ' ' + soy.$$escapeHtml(opt_data.name) + '!');

@lukiod
Copy link

lukiod commented Aug 30, 2023

import * as soy from 'soyutils';
use this as a lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants