Created
January 30, 2026 10:03
-
-
Save arifshaikh-official/27990bae1c6aa577eebc673d8914554e to your computer and use it in GitHub Desktop.
Typescript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Pipe({ name: 'exponentialStrength' }) | |
| export class ExponentialStrengthPipe implements PipeTransform { | |
| transform(value: number, exponent: number): number { | |
| return Math.pow(value, exponent); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment