title: How to use StyleSheet.absoluteFillObject with ts, react-native and styled components?
body: <p>I am trying to make this code to work</p>
  
  <pre><code>import { StyleSheet } from 'react-native';
  
  const Container = styled.View`
     justify-content: center;
     align-items: center;
     ${StyleSheet.absoluteFillObject};
  `;
  </code></pre>
  
  <p>Unfortunately typescript is complaining with the following error: </p>
  
  <pre><code>[ts]
  Argument of type 'AbsoluteFillStyle' is not assignable to parameter of type 'Interpolation&lt;ThemedStyledProps&lt;ViewProps &amp; ContainerProps, any&gt;&gt;'.
    Type 'AbsoluteFillStyle' is not assignable to type 'ReadonlyArray&lt;string | number | false | Styles | StyledComponentClass&lt;any, any, any&gt; | InterpolationFunction&lt;ThemedStyledProps&lt;ViewProps &amp; ContainerProps, any&gt;&gt; | ReadonlyArray&lt;FlattenInterpolation&lt;ThemedStyledProps&lt;ViewProps &amp; ContainerProps, any&gt;&gt;&gt; | null | undefined&gt;'.
      Property 'length' is missing in type 'AbsoluteFillStyle'.
  </code></pre>
  
  <p>Any help is appriciated, thanks in advance.</p>