Checks that declarations are declared once in current scope. The validation works in JavaScript, TypeScript, html or jsp files.