angular/adev/shared-docs/pipeline/guides/testing/docs-code/old-code.ts
2024-12-05 16:03:35 -08:00

14 lines
299 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
function oldFuncName(param: boolean) {
if (param) {
return false;
}
return 'yay!';
}