Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

allow specific string in type

interface AnimationOptions {
  deltaX: number;
  deltaY: number;
  easing: "ease-in" | "ease-out" | "ease-in-out";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #specific #string #type
ADD COMMENT
Topic
Name
9+6 =